Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
We have older formats that use the old Intralink parameter (&PROI_REVISION:D) that works just fine when you create a new dwg that's never been in Windburn, er, Windchill. I just updated our formats with a new corporate logo and updated the revision parameter to the Windchill rev parameter (&PTC_WM_REVISION:D) and the performance is buggy. When replacing the old format with the new format, it works fine. When creating a new dwg, the revision parameter string drops the "&", and sometimes the ":D" as well, and will no longer work. I double-checked our new and old .frm (format) files, and they're what should be correct, ("&" prefix and ":D" suffix), yet the old format works fine, and the new one doesn't. Is this glitch simply a Windchill thing? Are we going to have to deal with this every new dwg we make? Should I just use the old parameter because it actually still works?
WAAAY annoying.....
Any ideas?
Thanks!
Solved! Go to Solution.
Well, one issue I found is that the parameter &PTC_WM_REVISION:D" (all parameters) are not created until you save, so if you create the dwg with a format, it does not/cannot creat the parameter, so the string in the format gets truncated and does not work, becoming just the text string "PTC_WM_REVISION".
Whatever the best fix turns out to be, however, I have a fix:
Ctreate the dwg without the format ("Empty" option), then save it, THEN add the format. The act of saving itself creates the needed parameters, and then the format works just fine.
We'll be doing this until I can figure out why the Intralink parameter works, but not the Windchill one.
I think that dropping the & occurs when there is no matching parameter available. Perhaps if the drawing is saved before the format is added the drawing will get the Windchill parameters assigned and be ready to use.
Interesting. I'll have to try that! Do you mean "saved locally", or "saved in Windburn"?
Thanks!
Ok, the steps my co-worker took was to create a new drawing, with format, then saved it, which worked with our old formats (Intralink revision) but is not working with out windburn revision.
Well, one issue I found is that the parameter &PTC_WM_REVISION:D" (all parameters) are not created until you save, so if you create the dwg with a format, it does not/cannot creat the parameter, so the string in the format gets truncated and does not work, becoming just the text string "PTC_WM_REVISION".
Whatever the best fix turns out to be, however, I have a fix:
Ctreate the dwg without the format ("Empty" option), then save it, THEN add the format. The act of saving itself creates the needed parameters, and then the format works just fine.
We'll be doing this until I can figure out why the Intralink parameter works, but not the Windchill one.
Frank,
I just went through and updated all of our formats to reflect the correct PDMLink attributes and discovered the same thing.
"Create the dwg without the format ("Empty" option), save it, then add the format.
The act of saving it, creates the needed parameters, and then the format works just fine."
We are developing a toolkits to create drawings that will bypass this agony.
Well, I hope my Pro/WINDCHILL-WORKAROUND helps you or others. It seems to work for me. A little annoying, but only a few easy/fast extra steps. One day I'll find the root of the issue.
If you're not careful, Frank, PTC will make Pro|WorkAround an optional extension!
I can see a business case where this can really boost the bottom line
Obviously this should be reported to the Windchill support team. Something is seriously out of sync.
....I've already got the patent on the Pro/FANITY module!
You guys are too much...
Antonius does make a good point, if this is a particular pain point for you, you should absolutely log a case with the Windchill support team and provide them with the workaround.
Ok, that's a good suggestion, and when I'm not so busy I will, but.....now I'm solving PTC's problems, for free?
Aren't we all solving PTC's problems or finding work arounds?
I have actually found that posting unlisted YouTube videos works very well with support.
They have the full issue and they can work on it without having me walk them through it again and again.
Even a CamStudio capture will resolve to HD on YouTube.
Bwahahaha!
I hate to stir the kettle again (not really), but is everybody still using work-arounds to update the PTC_WM_Revision parameter on new drawings? I checked the new system, but could not find an enhancement request/idea/lightbulb, etc.
This is a pretty old thread. There are definitely newer ones out there on this topic. I guess the question is, are you trying to show the revision of the model or of the drawing? If drawing, then the only option is
:D (&PTC_WM_REVISION:D)
This will fail (turn into dumb text) if applied to a drawing before the parameter exists (basically anytime you create a new drawing from a format). On the other hand, if you are trying to show the revision of the model you can either use the
:MDL syntax (&PTC_WM_REVISION:MDL)
or a single cell repeat region. The :MDL syntax does not resolve until a model is added to the drawing, so it won't fail if creating a new drawing from format, but it will fail if removing the model from the drawing. The single cell repeat region is very robust and won't fail no matter how the drawing is created. Once the parameter is available, it will properly evaluate.
(&MDL.PARAM.VALUE with repeat region filter set to &mdl.param.name == PTC_WM_REVISION)
Thanks @TomU. Yep, an old thread...I searched for a more relevant thread and couldn't find anything addressing the issue as well as this. I'm trying to get used to the new forum (and wondering which of my profiles this one uses).
Anyway, I see the "mdl" extension points to the model and not the drawing. This is a change to our data model and will likely not be acceptable
(we use @PTC_WM_REVISION:D)
Has anyone found a newer solution to this issue? This is bugging the hell out of my engineers along with many other PTC quarks new to CREO.
Can someone help me with a solution besides opening as empty saving then changing format?
Are you using formats for your initial drawing creation or templates?
By using a template file, you can create the drawing and not lose the &wm_ptc_revision:D string in the new drawing, even if the drawing has not been checked in. When you do check in the drawing, the format table fields will update to shoe the drawing revision.
The templates we use are the formats with some additional symbols added. The symbols have to be at the template level as they also have parameters that get populated after the designer has updated the parameter fields.
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.
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.
Honestly, it's not a big deal once you know the fix, dunno why they're whining. Are they former SolidQuirks users? If so, that explains the whining in general..... 😉