cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

How to create Standard Attributes

Cat
5-Regular Member
5-Regular Member

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



0 REPLIES 0
Top Tags