Customizing Existing Windchill Attributes
To create more authoring application parameters, Windchill provides a server-side delegate that can be used to customize the system parameters added to the CAD file on download. This is referred to as extending the Windchill system attribute. When you use Add to Workspace, the system queries Windchill for system parameters. After the administrator modifies the server-side delegate code, the authoring application publishes the new parameter.
Windchill provides a sample delegate that creates all the optional authoring application system parameters. These are reserved as a convenience, so that modified or new authoring application parameters can be easily mapped. The administrator locates the delegate and modifies it according to company requirements. The list of reserved Windchill attributes is listed below.
• SP_WM_PART_REV
◦ String Type
◦ Corresponds to the string used only for the Windchill version of the actively associated WTPart.
• SP_WM_PART_ITERATION
◦ String Type
◦ Corresponds to the number used only for the Windchill iteration of the actively associated WTPart.
• SP_WM_PROJECT
◦ String Type
◦ Corresponds to the name of the Team of the CAD document.
• SP_WM_VIEW
◦ String Type
◦ Corresponds to the label of the View of the actively associated WTPart.
• SP_WM_PART_LIFECYCLE
◦ String Type
◦ Corresponds to the name of the actively associated WTPart’s lifecycle.
SP_WM_PART_TYPE
◦ String Type
◦ Corresponds to the global attribute name of the actively associated WTPart.
• SP_WM_PART_LC_STATE
◦ String Type
◦ Corresponds to the name of the actively associated WTPart’s current lifecycle state.