Skip to main content
1-Visitor
May 2, 2016 2:24 AM UTC
Question

How to create Standard Attributes


Unlike global attributes, you need to add columns in table in Windchill Database for standard attributes.

You don’t need to execute a query manually in order to add columns; there is a utility to create columns: AddColumns.


Execute the following command on Windchill Shell: AddColumns <Windchill Type> <Primitive Data Types>=<Number of Columns>


Example: 

     1.  AddColumns wt.part.WTPart String=1

     2.  AddColumns wt.doc.WTDocument Long=3 


add2.png

As you can see the image below, the new column for String is created in wcadmin.WTDocument Table.


add3.png