Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show just the major revision from Workgroup PDM on a drawing

Status
Not open for further replies.

wallacewhite

Mechanical
Dec 6, 2010
3
We're setting up Workgroup PDM (or PDMWorks). We've configured it to use major and minor revision numbers (e.g. E.002). We want to show only the major revision (E) on our drawing's title block.

To my surprise, it's not obvious how to do this. Any suggestions?

I found some help on writing an equation to drive a custom property ( but, like the author, found that it isn't working in 2010.

I also tried writing a VBA macro to do this. That part's easy, but I can't make it automatically update the property. I tried making it a Macro Feature tied to rebuild, but that seems to only run with a force rebuild (Ctrl-Q), and the macro is still an external file. If you lose the path to it, you get an error message.

This seems like it would be a common need. What are other people doing? We want to use minor revs just so that between-rev changes are all saved in PDM, but we don't want to show this detail on drawings.

Thanks,
Wallace
 
Replies continue below

Recommended for you

Check out:
thread559-262180
thread559-257714

Eric
 
Thanks, Eric. I'm sorry to see that neither of those threads found a way use minor revs in the vault while showing only the major rev in a drawing's title block.

As in those other threads, I'm accustomed to the Pro/E / Windchill manner of revision (major rev) and version (minor rev), with the ability to show just revision on its own.

So, are most Workgroup PDM companies showing the minor rev on their drawings? That seems like our best option. We'll have some explaining around the company and to vendors, but it's better than manually entering it. I'm tempted to try putting a white box over the minor rev...

Thanks,
Wallace
 
On this forum, I found that you can in fact manipulate custom properties with equations in SW2010. See This works on my system, too.

But, I can't figure out how to set one property based on another. (I need to do a little more than that, but it's a place to start.) Here's the example that I can't make work. Assume that Prop1 and Prop2 are existing, text Custom Properties. The following is an attempt to set Prop2 = Prop1.

Code:
"dummy"= part.Extension.CustomPropertyManager("").Set("Prop2", part.Extension.CustomPropertyManager("").Get("Prop1"))

Seems simple enough, but it fails: "The syntax of this equation is incorrect."

I have only a little VBA experience and this method of using an equation to run VBA isn't your everyday VBA application. Any help would be appreciated.

Thanks,
Wallace
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor