Hello!

Did you know that logged in users can see a lot more content?

2017 Table of Contents

2D Library in drawings

Last updated March 6, 2017 by Tekla User Assistance tekla.documentation@trimble.com

Software version: 
2017

2D Library in drawings

2D Library in drawings

2D Library allows you to quickly select objects in any drawings and save them as 2D drawing details. You can insert details in drawing views and drawings in any model. You can create details out of many kinds of drawing objects, such as parts, texts, notes, drawing sketch objects, or DWG files. In addition to details, you can browse and insert DWG files and images directly to your drawings from the 2D Library. It allows you to browse for details in other folders and use them in your drawing. Your company can create a collection of standard details that can be distributed in the system, project or firm folders and reused in different drawings and projects.

Limitations

  • Multi-colored part section hatches cannot be recognized in detail creation, and the part face hatch will be used instead.
  • Templates or images cannot be captured in detail creation.
  • Manually added weld marks cannot be captured in detail creation. This also applies to certain other manually added marks, such as revision marks and level marks.
  • Details inserted in container views (views around linked/copied views) may be placed incorrectly.
  • Inserted details do not rotate if the view is rotated.
  • Inserted details cannot be cloned with the drawing.

Open and view 2D Library

The 2D Library is located in the Tekla Structures side pane. It is available when a drawing is open.

  1. Open a drawing.
  2. Open the 2D Library by clicking the Drawing 2D Library button in the side pane.

  3. Click the Folder button to check the contents of the various folders:
    • Current model shows the details in the \Drawing Details folder under the current modelmodel that is active in Tekla Structures

      The current model can be a single-user model, a shared model or a working model.

      folder. Your details are saved here, and here you can also create new subfolders. This folder may be empty if you have not created any details or used details in other folders.
    • Project and Firm show the details in the subfolder \Drawing Details under the project and firm folders if you have defined paths to these folders as values for the advanced optionssettings used to customize Tekla Structures for specific companies, standards, users, or user groups

      In Tekla Structures, advanced options are settings that are used, for example, in a specific project or geographical area, or by a specific company.

      In Tekla Structures, advanced options usually begin with the initials XS and are followed by the name of the function, for example XS_BACKGROUND_COLOR.

      XS_PROJECT and XS_FIRM , respectively.
    • System shows the details in the subfolder \Drawing Details in any of the folders defined as a value for the advanced option XS_SYSTEM.
    • Browse allows you to browse to any folder for details.
    • When you use details in project, firm, system or any other folder than \Drawing Details in the current model folderfolder that is used for storing files associated with a model

      Tekla Structures stores all files associated with a model in a folder it creates with the same name as the model database (.db1).

      In multi-user mode all users access the same model folder.

      , the details are copied to the current model folder.
    • When you update a detail with new or changed objects, all instances of the detail in any drawings in the current model will be updated as well. If you are fetching the detail that you update from the firm folderfolder that is used for storing Tekla Structures-related files customized for a particular organization

      A Tekla Structures user can, for example, customize a company’s cloning templates and save them in a sub-folder located under the firm folder. After this, the customized cloning templates can be used in all projects carried out for the company.

      , the detail will not change in the firm folder. Global changes can only be done by the administrators of the firm, project and system folders.
    • If the administrator updates a detail in the firm, project or system folderfolder that is used for storing files that define default settings

      , any already inserted detail instances will not get automatically updated in any project. To do this, you would need to manually copy the updated detail file and replace what's in the model folder.
    • New folder allows you to create a new folder in the current model folder in the subfolder \Drawing Details.
    • Any subfolders in any of the folders are shown next to the details in the selected folder in 2D Library view. Double-click the subfolder to see the included details.

  4. Search for details by entering a search term in the search box at the top of 2D Library. Tekla Structures shows the matching details in the view. Details are only searched in the currently displayed folder and its subfolders.

Insert a detail to a drawing from 2D Library

In 2D Library , you can add details located in system, project, firm or the current model folder to any of your drawings.

  1. Open a drawing.
  2. Click the Drawing 2D Library button in the side pane to open 2D Library. To browse to another folder for details, click the Folder button , and select Current model , System , Project or Firm. You can also browse further to other folders by selecting Browse.
  3. If you always want to insert a detail inside a view when necessary, click the Options button and select Create view if needed.

    You may want to create a view if you place details outside drawing views. The new view will use the currently applied view properties and get the same scale as the inserted detail. If the Create view if needed option is not selected, the inserted detail does not get a view of its own, and dimensioning will not work properly in the detail.

    By default the standard view properties file is used. You can also create a new view properties file to be used for detail views. This will let you have a specific view labelassociative annotation object that is displayed in an individual drawing view and that includes information about the view

    in detail views, for example. You can select the new properties file, or any of the existing view properties files, in the Option menu. The selected view properties file settings will be applied to every 2D detail container view.

  4. Click a detail and then click the drawing viewview that includes selected model objects or an area in the model, that is represented in a drawing

    A drawing view is a container for model and drawing objects.

    A drawing can include several drawing views, which usually are two-dimensional views, plane views, to the model.

    Examples of drawing views in Tekla Structures include main views, section views, single-part views, and 3D views.

    or drawing to place the detail.
    Tekla Structures inserts the detail. The detail is inserted as a plug-in, which means that the detail objects are grouped and stay together when you select or move the detail in a drawing.

Create a new detail in 2D Library

You can create new details in the current model folder or its subfolders.

  1. In an open drawing, add the objects that will shape your detail.

    In the example below, the detail represents a beam-to-beam connection. The detail contains texts, circles, lines, polylines, and symbols that have been added on top of a drawing and surrounded by a frame.

  2. Click the Drawing 2D Library button in the side pane to open 2D Library.
  3. Select the objects that you want to include in the detail.

  4. Add the detail in 2D Library :
    1. If you have subfolders in the current model folder, double-click the subfolder in 2D Library view where you want to save the new detail.
    2. Click the New detail from selected object button at the top of 2D Library.

      A message at the bottom of 2D Library asks you to pick a reference pointpoint that Tekla Structures creates when the user creates a model object, the point being visualized as a handle

      The reference points follow the model object if it is moved. They are only deleted if the related model object is deleted.

      Reference points can be selected as snap points in a snap switch.

      .

    3. Pick a reference point in the drawing.

      A message at the bottom of 2D Library asks you to capture a sample image by picking two points.

    4. Pick two points to capture an image of the detail.

Tekla Structures creates the detail and adds it to 2D Library in the \Drawing Details folder under the current model folder. This folder is automatically created when a detail is created in the current model for the first time. Tekla Structures saves the detail and its metadata (name, description) as a .ddf file. The metadata is used when you search for details in 2D Library. The captured image is saved as a .png file.

Create a new folder in 2D Library and copy/move to the folder

You can create details in a new folder or copy or move details to the new folder in the current model folder.

  1. In 2D Library , click the Folder button , and select New folder. You can rename the new folder by clicking the folder and entering a name at the bottom of the side pane.
  2. Right-click a detail you want to copy or move and click Cut or Copy.
  3. Right-click the new folder and select Paste. Tekla Structures copies or moves the selected detail.
  4. If you want to add some details in a system folder, create a subfolder in a system folder (defined by XS_SYSTEM ) and rename it Drawing Details , then copy details from the model folder to the new \Drawing Details system folder using Windows Explorer. You can copy or move details in the same way to the project and firm folders.

Modify detail properties in 2D Library

You can modify detail properties of the details in the current model folder. You cannot modify the detail objects, for example, the texts, marks, or lines inside a detail, because the details are grouped. You first need to explodeto ungroup the objects that are parts of another object or a component

In Tekla Structures, it is possible to explode components, cast units, assemblies, bent plates, parts that have attached parts, and drawing shapes and plugins.

The exploded objects cannot be reverted back to the original group.

the detail, and then update it.

  1. In an open drawing, browse for a folder, and click a detail in 2D Library. A new detail looks like the one below in 2D Library when you have not touched its properties yet:

  2. Modify the detail properties at the bottom of the side pane:

    1. Edit the detail name and the description of the detail.
    2. Select the original scale, enter a scale, or ignore the scale. When you click Ignore scale , the detail will have the same visual size regardless of the view scale.

      The scale refers to the scale of the view where the detail was originally created. The Scale value is used when inserting the detail for adapting the detail to the scale of the target view, so that dimensioning, for example, will work correctly. Therefore dimensioning will not be correct if you use the Ignore scale option.

    3. To change the sample image, move the mouse pointer over the image on the left, click the Capture new button, and then pick two points in the drawing.
  3. To view and modify the detail properties in the drawing, double-click the inserted detail.

Explode a detail

You can explode an inserted detail into lines and texts, for example, to update the detail with new objects.

For example, you may have created a detail and something does not look quite right. You can explode the detail, make modifications and update the detail with the changes.

Another example could be that you have a set of company-specific details that you are inserting details from. You can explode a detail and edit it, and make a new detail out of it.

  • In a drawing, right-click an inserted detail, and select Explode.

The detail is exploded to lines and texts. Now you can edit the detail, and then update the detail.

Update objects in a detail

You can modify all instances of a detail by updating the detail with new or modified objects.

  1. Insert the detail in a drawing and explode it by right-clicking the detail and selecting Explode.
  2. Modify the exploded detail objects or add new ones.
  3. Select all detail objects, including any new ones.
  4. Right-click the detail in 2D Library view and select Update detail with selected objects. You are asked to pick a new reference point. If you are updating the detail in the same view as originally, you do not need to pick a new reference point, otherwise you need to pick a new reference point.

    The detail gets updated. When you update a detail with new objects, the detail will get updated in all drawings where it is used.

Explode symbols included in details

You can explode symbols included in details, and make them independent of the local symbol files.

2D Library saves the drawing symbols as symbols, which means that later, when you insert the detail, you need to have the correct symbols files present. You can avoid this by exploding the symbols.

  1. In 2D Library , click the Options button and select Explode native symbols.
  2. Insert a detail containing drawing symbols in a drawing.
  3. Right-click the inserted detail, and select Explode. The detail and the included symbols are exploded to lines and texts.

Insert a .dwg file to a drawing from 2D Library

You can insert .dwg files from the 2D Library to drawings as reference files.

  1. Open a drawing.
  2. Click the Drawing 2D Library button in the side pane to open the 2D Library.
  3. Browse for the folder containing the .dwg files in the 2D Library. You can also move your reference files to a \Drawing Details folder under the current model folder.
  4. If you always want to insert a detail inside a view when necessary, click the Options button and select Create view if needed.
  5. Click a .dwg file and then click the drawing view or drawing to place the .dwg file. Tekla Structures inserts the .dwg file as a reference object in the drawing, not as a drawing detail. If the file is inserted from outside the model folder, the file will be copied to the model folder first and the insertion path will be relative to that.

    You cannot update the .dwg file with new objects, but you can select an inserted .dwg along with any other objects and create a new detail.

Insert an image to a drawing from 2D Library

You can insert image files from the 2D Library to drawings.

  1. Open a drawing.
  2. Click the Drawing 2D Library button in the side pane to open the 2D Library.
  3. Browse for the folder containing image files in the 2D Library. You can also move your image files to a \Drawing Details folder under the current model folder.
  4. If you always want to insert a detail inside a view when necessary, click the Options button and select Create view if needed.
  5. Click an image file and then click the drawing view or drawing to place the image.

    The image is inserted. If the file is inserted from outside the model folder, the file will be copied to the model folder first and the insertion path will be relative to that.

    Note that the image detail thumbnail is created automatically.

Quick feedback

The feedback you give here is not visible to other users. We use your comments to improve our content.
We use this to prevent automated spam submissions.
Content rating: 
Average page rating: 5 (1 vote)
Refresh page after voting to show updated result.