Adding UDAs to custom components

Tekla Structures
Not version-specific
Tekla Structures
ADD UDA IN CC
ADD UDA IN Custom Component
Environment
Not environment-specific

Question:
Is it possible to add UDAs to custom components? Not to the parts, but to the components?

Answer: 
You can create a sort of UDA for custom components. Here are quick instructions. Note that you need to be familiar with creating custom components and templates to follow them.

  1. In the custom component editor, create generic parameters that will be your UDAs. It may be a good idea to prefix the name with “UDA”, so that it is easier to remember and identify.
    Image
    1.jpg
  2. In the custom component dialog box, use the Save as button to create an attributes file in your model folder.

Image
2.jpg

  1. Open the attributes file in a text editor and find the name of the parameter. It should be <cc name>_attributes.<parameter name>.
    Image
    3.jpg
  2. In Template Editor, use the CONNECTION row type, and you can get the value as a user-defined attribute by using the following formula:
GetValue(“USERDEFINED.<attribute name from the attribute file>”)

Image
4.jpg
 
Was this helpful?