×
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

API, REVISOIN TABLE

API, REVISOIN TABLE

API, REVISOIN TABLE

(OP)
I seem to have problem with adding a new row to my revision table. I found an example of code that was adding a row and it seemed to work ok on their drawing sheet with their title block.
However when i try the same block of code in sw2006 it does not seem to work and when I add my fields to the table it just seems to overwrite the last revision instead of adding a new row and inserting it there.

Here is the code.
RevTable.AddRevision (PartRev)

I'm guessing it worked on their drawing sheet because it was an older version maybe?

Any help would be great --- thanks.

RE: API, REVISOIN TABLE

I have to examples of macro that add revision box rows using the method you listed.  I know they work both in 2005 and 2007, so I assume they work in 2006 too.  You are free to try them out:

Does not require editing to work with most title blocks:
http://sw.fcsuper.com/index.php?name=UpDownload&req=viewdownloaddetails&lid=65

Will most likely require editing:
http://sw.fcsuper.com/index.php?name=UpDownload&req=viewdownloaddetails&lid=16

Also, you have have issues with the wrong reference libraries being loaded.

Matt
CAD Engineer/ECN Analyst
Silicon Valley, CA
http://sw.fcsuper.com/index.php

RE: API, REVISOIN TABLE

EDIT:  You *may* have issues with the wrong reference libraries being loaded.  

Matt
CAD Engineer/ECN Analyst
Silicon Valley, CA
http://sw.fcsuper.com/index.php

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