Skip to main content
Patriot_1776
22-Sapphire II
January 10, 2014
Solved

Format issues (&PTC_WM_REVISION:D)

  • January 10, 2014
  • 2 replies
  • 9952 views

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!

Best answer by Patriot_1776

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.

2 replies

1-Visitor
January 11, 2014

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.

Patriot_1776
22-Sapphire II
January 13, 2014

Interesting. I'll have to try that! Do you mean "saved locally", or "saved in Windburn"?

Thanks!

Patriot_1776
Patriot_177622-Sapphire IIAuthorAnswer
22-Sapphire II
January 14, 2014

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.

17-Peridot
January 14, 2014

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.

Patriot_1776
22-Sapphire II
January 14, 2014

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.