Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Greetings,
I am looking to show the Windchill ECN information in a table on the CAD drawing automatically. We need to show the approval date and perhaps the description of the change in the revision block of a drawing.
My initial thought was to have the ECN workflow pass the ECN information into the EPM document attribute after the approval task. Of course the EPM attribute would be designated or mapped to a property or parameter in the CAD file. When the drawing gets published on the state change, the table would update accordingly.
Is anyone doing something like this or have a better idea?
Thanks in advance.
-Cam
Hello Cameron
There is an example java class how to synchronize some other attributes to the drawing like the attached WTPart with revision and state information, ECN Number, etc. These attributes are synchronized the same way like PTC_COMMON_NAME,.. You will find this class under
codebase/com/ptc/windchill/uwgm/proesrv/c11n/DefaultModeledAttributesDelegate.java
How to use it is also explained in the customization or "Using PTC Creo Parametric with PTC Windchill" guides.
Björn
Thank you Björn,
Do you have specifics about how to implement the ECN number information to a drawing parameter?
-Cam