Hi
I need some help... I want to update properties from Vault via an iLogic rule and I have this snippet:
'Checks out the file and update latest properties from Vault' 'Dim oDDoc As PartDocument'oDDoc = ThisApplication.ActiveDocument''Dim oControlDef As ControlDefinition'ThisApplication.CommandManager.ControlDefinitions.Item("VaultPropertyWriteBack").Execute2 (True)
But I want the relationship Include Children not to be checked!
It would also be great if i did not have to hit "OK" for every file...so it just run the rule without any checkboxes (both for settings and the Get Latest Properties window...)
Anyone who can help?
I am desperate... so I will hereby try with the magic word....: PLEASE?
I need this in a very big process and this would be extremely effective for me... Especially if I can make it to work like I do not get the box to appear at all and don't have to hit OK for every file...
Hello TG,
At this time there is not an API for the Inventor Vault Add-In and there is not a quick way to automate this Vault Add-In command.
From a custom Inventor Add-In you could use the Vault API and it could get the properties from the file in the Vault. You could use the Inventor API to update the Inventor document. I don't see a way to use the Vault API directly in an iLogic rule. You could try using a dll that uses the Vault API and use that in an iLogic rule. (I have not tried this)
These DevBlog posts have examples of getting properties using the Vault API.
This DevBlog post discusses getting the login from the Inventor Vault Add-In.
http://adndevblog.typepad.com/manufacturing/2013/09/autocad-2014-vault-add-in-connection.html
Thanks,
Wayne