Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
As per the original post.
Hi BenLoosli,
In one of my project I have to update the assignee and reviewer details on drawing.
So we are using the format to update this for new also we are using format.
Now to update the required parameters on drw. We are using Custom delegate.
But seems like there is a glitch like sometime it is
working fine and sometime it is not but in creo I can see the parameters with correct values.
So I am not understanding why it is happening.
Solved! Go to Solution.
The template used for new drawings should include the format.
For existing drawings, you need to be sure you have the proper parameters in your drawings before adding or replacing the format. I would suggest a mapkey to add the required parameters to make it easier. The mapkey could also add the format but this would require a mapkey for each format.
The use of formats and templates has some restrictions that a lot of people don't understand.
Using a format directly in a new drawing will usually lead to issues as some parameters (usually PTC_WM_*) are NOT created until the drawing file is saved for the first time. This will manifest itself if using any PTC_WM parameters in a format.
My recommendation is to put your format into a drawing template and always use the drawing templates when creating a new drawing. The drawing template when saved will have the required PTC_WM parameters and will pull the proper information into your drawings.
But now we are using our custom parameters
Which is assignee and reviewer name @
And task completed date.
Issue sometime it works fine some time it is not .
And I have to give a demo to design team.
Could you suggest me how to map the format with templates.
You have to create the template drawing and then just add your format to it. One template for each drawing format.
Using Template and then applying format is for new Drawings.
But what about old one ? There only format we can use .
The template used for new drawings should include the format.
For existing drawings, you need to be sure you have the proper parameters in your drawings before adding or replacing the format. I would suggest a mapkey to add the required parameters to make it easier. The mapkey could also add the format but this would require a mapkey for each format.
Hi @@_1647,
I wanted to see if you got the help you needed.
If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation.
Thanks,
Anurag