Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Macro VBA with VaultCheckin

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
2150 Views, 2 Replies

Macro VBA with VaultCheckin

Hi,

 

I try of make a macro which allow check if the file status is "Check in" in Vault.

But I don't find documentation for to help me, just this :

 

ThisApplication.CommandManager.ControlDefinitions.Item("xxxxx")

xxxxx =
VaultAddFiles
VaultAddProject
VaultBrowserInfo
VaultCheckin
VaultCheckinTop
VaultCheckout
VaultCheckoutTop
VaultFindinBrowser
VaultFindinWindow
VaultGetLatest
VaultGetLatestVersion
VaultGotoWorkspace
VaultHelp
VaultHistory
VaultLaunchVaultExplorer
VaultLogin
VaultLogout
VaultMapFolders
VaultOpenFromVault
VaultOption
VaultPlaceFromVault
VaultPropertyWriteBack
VaultRefresh
VaultTutorial
VaultUndoCheckout
VaultUndoCheckoutTop

 

 

I want that my macro is trigger if the file status = "Check in"

 

How to use this command "ThisApplication.CommandManager.ControlDefinitions.Item" for trigger my macro ?

 

Thanks,

2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

I'm trying to figure this out too.

I think the command is:

ThisApplication.CommandManager.ControlDefinitions.Item("xxxxx").execute

But it's not working for me when I use it to Check In. I can use that format to open options or the open file dialogue, but for some reason I can't check in or check out.

Check this other post.
http://forums.autodesk.com/t5/Vault-General/Add-and-Check-in-files-to-Vault-with-VBA/td-p/2075217
Message 3 of 3
Anonymous
in reply to: Anonymous

This seems to work for me:

ThisApplication.CommandManager.ControlDefinitions.Item("VaultCheckinTop").execute

That's progress. Do you have any idea how to iterate through the files in the vault (with vba)?

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

Post to forums  

Autodesk Design & Make Report