Revisions in Vault

Revisions in Vault

johan.degreef
Advisor Advisor
247 Views
1 Reply
Message 1 of 2

Revisions in Vault

johan.degreef
Advisor
Advisor

We set up revisions in Vault, and most of it runs ok. We do miss a (automatic) dialogbox were to enter some description. Can this be done?

 

Knipsel.JPG

Inventor 2025, Vault Professional 2025, Autocad Plant 3D 2025
0 Likes
248 Views
1 Reply
Reply (1)
Message 2 of 2

theo.bot
Collaborator
Collaborator

@johan.degreef 

 

Yes this can be done. This is a basic sample without any checks, so i asumed there is a revision table on the sheet. In my case i only edited the last revision row.

It is basicly the same as double click on the table and edit / enter the text in the description field. 

 

Dim oDoc As DrawingDocument
oDoc = ThisDoc.Document 

Dim oSheet As Sheet
oSheet = oDoc.ActiveSheet

Dim oRevBlock As RevisionTable
oRevBlock = oSheet.RevisionTables(1)

myparam = InputBox("Give Revision Description", "Revision Table", "New Edit")

oRevBlock.RevisionTableRows(oRevBlock.RevisionTableRows.Count).Item(3).Text = myparam

 

0 Likes