×
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

PDMWorks Link to Revision Table

PDMWorks Link to Revision Table

PDMWorks Link to Revision Table

(OP)
I'm trying to figure out if I can link a revision table in my drawing to PDMWorks.  What I'd like to do is have the user enter a description of what they've changed when they check a part into PDMWorks, and then have the drawing table update with the new rev and description.  The rev table should also display all of the old revs and descriptions.  I haven't been able to figure this one out using simple means, so I'm thinking it might not be possible.  But if someone knows of a way to do it I'd really appreciate the help.  Thanks again

jason

RE: PDMWorks Link to Revision Table

Are you talking a revision table from SW 2004, or earlier?

-----------
Mr. Pickles

RE: PDMWorks Link to Revision Table

I don't know about the revision table part of it, but there is a real simple way if all you want to display is the current revision and the last description of change. The change history is maintained through PDMWorks if anyone wants to look it up. However, I know some still like to see the entire history on the drawing. I'm thinking a simple API would solve your, and my, predicament as I've been asked to find a way to do what your asking as well.  Hope someone out there can help us both.

RE: PDMWorks Link to Revision Table

(OP)
I'm working with SW 2004, and I'm trying to display the entire revision history in my drawing.

jason

RE: PDMWorks Link to Revision Table

From what I can tell, presently what's available through the PDMWorks API (BTW Advanced Server is required in order to use it) is insufficient to pull off the type of automation routine you're talking about.  I've spent some time looking into doing something similar to this recently and found that the PDMWorks API is still immature right now.  It seems to be mostly setup for reporting and such and does not have much in the way of exposed methods, etc. from what I've seen.

However, I will share with you what I think the algorithm to do what you're after ought to look like (in case I'm wrong and it is possible).  Basically it should a macro/application that does the following:


  • Launches with the "checkin" event of PDMWorks


  • Waits for the user to enter the notes


  • Detects when the user completes their checkin routine (i.e. clicks "checkin")*


  • Suspends PDMWorks checkin routine actions*


  • Fires a sequence of SW API commands (enters revision and note info in rev block, saves the drawing)


  • Resume PDMWorks checkin routine actions*


  • Exits allowing PDMWorks to complete checkin sequence


  • * The PDMWorks API doesn't appear to give us a way of doing this right now


So automationbabe is correct in that it really isn't a very complicated API but without being to give the application a way of "knowing" when a checkin occurs it's not currently feasible IMO.  It's not an impractical request to make (ability to link PDMWorks and Revision table) either IMO.  I imagine that the capability will be available at some point.

Chris Gervais
Sr. Mechanical Designer
Lytron Corp.

RE: PDMWorks Link to Revision Table

I looked into integrating the revision table and PDMWorks - it's not really possible. The revision table is not smart enough to let PDMWorks control the revision number, it keeps trying to change it. We settled on only showing the details of the latest revision in the title block, and not even using the revision table. Since the full revision history is stored in PDMWorks, there is little need to keep it on the drawing.

I think that a macro to control the revision table is a bit brute-force, and not a terribly robust way of doing things. Slightly off topic, but my feeling is that macros should only be used to automate manual procedures. If the macro craps out, then there is still the manual method as a backup.

I suggest creating a new revision table of your own as part of the title block, which uses the custom properties. The revision history is then available in PDMWorks and the check in note can be used to provide additonal information that is not on the drawing. Since the revision table will have a fixed number of revision "slots" you may wish to write macro that moves the revision history along one to give you room to enter the new revision info.

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