Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

API, REVISOIN TABLE

Status
Not open for further replies.

JBirner

Mechanical
Mar 28, 2007
12
0
0
US
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.
 
Replies continue below

Recommended for you

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:

Will most likely require editing:

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

Matt
CAD Engineer/ECN Analyst
Silicon Valley, CA
 
Status
Not open for further replies.
Back
Top