Enabling Support for Custom Parts
In the Creo Parametric HTML client, you can enable support for custom parts, which extend wt.part.WTPart; however, a custom part must be modeled before any changes are made to the Creo Parametric HTML client. (For more information on extending the Windchill object model, see the section Specialized Administration in the Windchill Hilfe-Center.)
The Creo Parametric HTML client permits use of custom parts in most operations, including download, check out, check in, associate, disassociate, and so on; however, the operations used to create parts, New > Part and Auto Associate Part, are specific to WTPart. Additionally, when you view the properties of a custom part, any global attributes you may have added to the custom part can be seen; however, newly modeled information is not displayed.
* 
This functionality is applicable to all Windchill Workgroup Managers integrating with 3rd party CAD tools
Whenever "Part" is available in the object type list on the Creo Parametric HTML client object selection page, if "Part" or "All" is selected, both WTPart objects and custom part objects are listed in the page’s results table.
Automatic part generation is supported through the “Auto Associate Part” action available on the workspace properties page. To enable automatic custom part generation when using this command, however, you must either create or modify your automatic part creator. For more information, see Customizing Auto Associate.
Modifying the Properties Page
To configure a custom part-specific properties page you have to create a properties page and/or template processor. For details on how to do this, see the section Specialized Administration in the Windchill Hilfe-Center.
Modifying the HTML Client Object Selection Page
To enable recognition of custom parts as a sub-class of WTPart and not just the supported type in the Creo Parametric HTML client object selection page’s default implementation, you must add support for the custom part in the configured wt.query.SearchAttributeListDelegate. (For more information see Customizing the HTML Client Object Selection Page .)
In addition you must modify the Creo Parametric HTML files that use the object selection page, and use the xconfmanager modify or override the type list ID entries in com\ptc\windchill\cadx\propfiles\picker.properties.
* 
For wt.query.SearchAttributeList, which is the default configured search attribute list, the type ID is referred to as the query value. (For more information, see Customizing the HTML Client Object Selection Page ).
Replacing WTPart
If you want your site to only use custom part and not WTParts, then do the following:
1. Add custom part support to HTML Search.
2. In picker.properties, use the xconfmanager to change the type list entries that contain a type ID for WTPart to the custom part type ID you created in Step 1.
3. Restart the method server.
Supporting WTPart and Custom Part
If your site will be using both WTParts and custom parts, then do the following:
1. Add custom part support to HTML Search.
2. In picker.properties, use the xconfmanager to add to the type list entries that contain a type ID for WTPart the custom part type ID you created in step 1.
3. To add an “All” type list entry for a type list, add an entry with the ALL type ID used by the configured search attribute list.
4. Restart the method server.
War dies hilfreich?