Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Delete Revision Table

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Ktomberlin
607 Views, 2 Replies

Delete Revision Table

I've tried to search for this for awhile and i came up empty.  I'm simply trying to delete the revision table if it exists on a drawing.  I did find where you can't do anything with Rev Tags with the API, but what about the Actual Revision Table? 

 

Trying to get this to work;

 

If iProperties.Value("Project", "Revision Number")>0
Dim oRevTable as RevisionTable
oRevTable = ActiveSheet.Sheet.RevisionTable.Item(1) 
oRevTable = nullRevisionTable

2 REPLIES 2
Message 2 of 3

RevisionTable.Delete method deletes this RevisionTable object.


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 3 of 3

Got it working thanks

If iProperties.Value("Project", "Revision Number") > 0 Then
ActiveSheet.Sheet.RevisionTables.Item(1).delete
End If

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report