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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

WTPart - EPMDocument Association

ptc-4482159
12-Amethyst

WTPart - EPMDocument Association

I amtrying to build a custom association class to build the link between WTParts and EPMDocuments with a call to EPMBuildRule. I would like to do this with existing parts and cad docs by using their number or name field as a reference. However, the only way I can seem to directly reference a part or doc is by using the ObjectIdentifier class.

I can call the following:

ObjectIdentifier oid = ObjectIdentifier.newObjectIdentifier("wt.epm.EPMDocument:###");

But I've come to find that the number (###) in this call is a long integer which refers to the unique ID of the WTPart of EPMDocument instead of the number field.

Does anyone know of a better way to pull an existing EPMDocument from Windchill for use in a custom classor how to retrieve the ID number the call above references?

Thank you in advance.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
0 REPLIES 0
Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags