Creating a content item for a custom component in Tekla Warehouse

Tekla Structures
Not version-specific
Tekla Structures
custom
component
custom components
warehouse
Tekla Warehouse
package
collection
create
twh
Environment
Not environment-specific

Question:
How to create a content item that contains a custom component (using user-defined parametric profiles) to be published in Tekla Warehouse?

Answer:
Currently you need to manually export the files from Tekla Structures and manually bring them to Tekla Warehouse. User-defined parametric profiles are defined in the .clb files, and a .lis file defines how the profiles are placed in the profile catalog.

Exporting the profiles from the profile catalog
User-defined parametric profiles are defined by using .clb files. How the profiles are placed in the profile catalog is defined in the rules.lis file. With fixed profiles you also need to use the profile.lis file, otherwise it is not needed.

You need to export these files from the profile catalog. If  you want to include several profiles in the same content item, you should create a category which connects the profiles. Right-click one of the categories in the profile catalog list and select Add rule.

 

 

Image
modify profile catalog.png

 


In the Profile manager rules dialog box, you need to define the rule. In this case, we are going to name the rule "BM" and filter the profiles by using "BM*" in Name filter string.

 

Image
profile manager rules.png

 


This will filter the profiles whose name begins with "BM" to this category, if they are not already in some other category. To include all the needed profiles, move the category up in the category tree. Right-click the category you created and select Export profiles.

 

Image
modify profile catalog_2.png

 


Because we are exporting a user-defined parametric profile, the export will create a .clb file. If we are exporting a category that contains several profiles, as we are doing in this example, in addition to the .clb file, you will also get profiles.lis and rules.lis. For more information, see Import and export profiles.

Exporting custom components from the Component Catalog
Custom components are exported as .uel files. To export, we need to open the Component Catalog (Ctrl + F). Select the components you want to export. You can select several components by holding down the Ctrl key when you select the components. Right-click and select Export or Export into separate files. Name the .uel file or files as you wish.

 

Image
component catalog.png

 


Note! Export the .uel files from the oldest Tekla Structures version you want to use them in. This is important because the .uel-files work from older to newer version, but not the other way around.

Adding the files to a content item in Tekla Warehouse
Create a collection and add the content item in the usual way in Tekla Warehouse and add the files manually (see picture below). Read more about how to create a collection and add files to it manually in Tekla Warehouse.

 

Image
twh.png

 

See also

 

Was this helpful?