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 Add to Workspace, the system queries Windchill for system parameters. After the administrator changes the server-side delegate code by adding to it (or commenting on what is there), the authoring application publishes the new parameter.
Windchill provides a sample delegate that creates all of the authoring application optional system parameters. These are reserved for the convenience of the administrator so that modified or new authoring application parameters can easily be 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.