Object for Vault Revision Table or Custom Revision Table

Object for Vault Revision Table or Custom Revision Table

Bellmer-CAD-Admin
Enthusiast Enthusiast
141 Views
1 Reply
Message 1 of 2

Object for Vault Revision Table or Custom Revision Table

Bellmer-CAD-Admin
Enthusiast
Enthusiast

Hello,

 

we use Vault and the Users should use only the "Vault Revision Table":

BellmerCADAdmin_0-1739874513380.png

 

But for some reasons, sometimes (by mistake) User use the wrong one "Revision Table":

BellmerCADAdmin_1-1739874554100.png

 

You can fix this by clicking "Populate with vault data". This will change the custom revision table to a vault revision table with data from vault.

BellmerCADAdmin_2-1739874594612.png

 

Now we would like to check (via iLogic) the placed revision table if it's set to a "Vault Revision Table" but i cant find an object which differs from the Custom Revision Table:

 

BellmerCADAdmin_3-1739874809006.png

 

Is there a way to find out if the placed Revision Table is a Vault Revision Table?

 

Thanks and BR

 

 

 

0 Likes
142 Views
1 Reply
Reply (1)
Message 2 of 2

marcin_otręba
Advisor
Advisor

hi,

 

this is not possible to determine if revision table is vault because it is set up globally in project.

but maybe you can determine it trough something else like style name for example ?

if not then could you give us know what is your goal here ?

also if you set revision table as vault then it doesn't realy matters if you use vault revision or revision table button - it will place the same object. The difference is that vault revision will be filled with data and revision table not.

 

But for sure you could use UserInputEvents.OnTerminateCommand or ControlDefinitions here.

for example :

this will fill revision table with vault data

 

Dim rt As RevisionTable
Dim doc As DrawingDocument
doc = ThisApplication.ActiveDocument
rt = doc.ActiveSheet.RevisionTables(1)
doc.SelectSet.Select rt
ThisApplication.CommandManager.ControlDefinitions.Item("VaultRevisionBlockTableNode").Execute

 

 

or using UserInputEvents.OnTerminateCommand event you can use:

 

 

Private Sub Onterminate_Command(CommandName As String, Context As NameValueMap) Handles oUserInputEvents.OnTerminateCommand
            If CommandName = "VaultRevisionBlock" Then

            End If
            If CommandName = "DrawingRevisionTableCmd" Then
ThisApplication.CommandManager.ControlDefinitions.Item("VaultRevisionBlockTableNode").Execute
            End If
End Sub

 

 

hope this will help..

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes