Customizing Existing Windchill Attributes (Creo Elements/Direct Drafting)
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 upon download. This is referred to as extending the Windchill system attribute. Upon 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 out what is there), the authoring application publishes the new parameter.
Windchill provides a sample delegate that creates all the authoring application optional system parameters. These are reserved as a convenience, 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 as follows:
SP_WM_PART_REV
String Type
Corresponds to the string used for just the Windchill Version of the actively associated WTPart.
SP_WM_PART_ITERATION
String Type
Corresponds to the number used for just 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.
¿Fue esto útil?