Hello all,
I'm just looking into what is possible using iLogic to trigger Vault events.
I can use the following...
Dim oCommandMgr As CommandManager
oCommandMgr = ThisApplication.CommandManager
oCommandMgr.ControlDefinitions.Item("VaultGetLatest").Execute
to get the latest version of the active document. What I would really like to do it get the latest version of components within the active document. I thought this might work...
Dim oCommandMgr As CommandManager
oCommandMgr = ThisApplication.CommandManager
compo = Component.InventorComponent("Frame")
oCommandMgr.ControlDefinitions.Item("VaultGetLatest").Execute
but it doesn't.
Ideally the code would loop and run For Each component in the active document. Does anybody know if this is possible?
Hi,
Maybe you could open up each document and then run the Vault command?
Cheers,