iLogic - Vault Get Latest for all Components
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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?
Inventor 2013 Certified Professional
Autodesk Inventor Professional 2023
Visual Studio 2022
Windows 10 Pro, 64-bit