Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hello- Some of you got this question yesterday; sorry about that but I thought I’d try fishing here also.
I would like to display the pdm link document NUMBER along with the NAME, andFILE NAME of a model in some drawing notes.
&PTC_COMMON_NAME works for the NAME
&model_name works for the FILE NAME.
What is the system parameter for the NUMBER assigned by PDM-link so that can be shown as well?
Using WF 5.0 & pdm-link 9.1
Is it possible?Hi
we use &PTC_WM_NUMBER for NUMBER, &PTC_WM_NAME for NAME
hope this helps
Hello
From what I have seen on table, format, etc, those parameters cant be used with customization (as shown in ptc kb or guides):
&PTC_WM_NUMBER for NUMBER, &PTC_WM_NAME for NAME
&PTC_COMMON_NAME is what we use in the format, but it has a hard coded 81 character length issue.
Some one suggested &PTC_WM_NAME,but its not an easy one. ptc kb suggests using OOTB source:
DefaultModeledAttributesDelegate.java
But the doc & customizers guide are vague & have been noted as being wrong.
Who might have got this working & NacNac, how might you have got this working.
Thanks
Larry Jett
cadjett@aol.com, datajett@aol.com
In Reply to NacNac MOTT:
Hi
we use &PTC_WM_NUMBER for NUMBER, &PTC_WM_NAME for NAME
hope this helps
Hi Lawrence.
It has worked that way since we got PDMLink in 2009 and it was 9.0.
Unfortunately, I have not configured the system myself and I have no idea if it is a OOTB functionality or if it required some configuration but surely enough it is not a customisation.
We also use PTC_WM_STATE to display the life cycle state, PTC_WM_LAST_MODIFIED etc.......
The way it works for us is as follow.
If I click New in Creo/ProE while connected to PDMLink, first those parameters PTC_WM...... do not exist, but once I save the model (it gets automatically uploaded), The system integrate that model with Windchill and the PTC_WM.... are automatically created.
If I then refresh the drawing (which was created from a template using those PTC_WM... parameters in format), then the correct values appear.
Obviously, if I create a new model and drawing from a Save As, it is there straightaway as the saved model/drawings already have those parameters.
Hope this helps
best regards