×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Show just the major revision from Workgroup PDM on a drawing

Show just the major revision from Workgroup PDM on a drawing

Show just the major revision from Workgroup PDM on a drawing

(OP)
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 (http://www.angelsix.com/cms/features/tutorials/64-solidworks/73-fun-with-solidworks-equations) 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

RE: Show just the major revision from Workgroup PDM on a drawing

(OP)
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

RE: Show just the major revision from Workgroup PDM on a drawing

(OP)
On this forum, I found that you can in fact manipulate custom properties with equations in SW2010. See http://www.eng-tips.com/viewthread.cfm?qid=265073&page=1. 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
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources