Community
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Real Vault API

Real Vault API

Hello, I would like you to release a proper API to be able to control the vault from Inventor in a decent way. I don't want to be offensive, but I find that using this code is really not very practical and professional. Especially since it is offered in the iLogic code examples:

 

ThisDoc.Save
Try
	Dim oControlDef As Inventor.ControlDefinition
	oControlDef = ThisApplication.CommandManager.ControlDefinitions.Item("VaultCheckinTop")
	oControlDef.Execute2(True)
Catch ex As Exception
	Logger.Error("Check-In failed; likely, the file wasn't checked out.")
End Try

 

 

This is the kind of feature I would like to have in the Vault API, along with thorough documentation if possible. Thank you:

 

Vault.archive(fullfilename,option..)

Vault.extract(fullFilename,option..)

Vault.get(fullfilenmae,option..)

Vault.undocheckout(fullfilenmae, option)

Vault.fileExist(fullfilename,option..)

Vault.getproperty(fullfilename,dictonary)

Vault.setproperty (…)

Vault.getCategory()

Vault.setCaterogy()

Vault.changeState()

Vault.getState()

Vault.changeRevision()

Vault.getRevision()

Vault.renamefile()

Vault.copyfile()

Vault.synchroniseProperty

Vault.createPDf (for job assistant)

Vault.createDXF (for job assistant)

Vautl.createSTP (for job assistant)

Vault.PropertyValue(fullfilename, “PropertyName”)

Vault.GetFileBySearchCriteria(…)

Vault.GetFilesBySearchCriteria(…)

Vault.GetFileByFullFilePath()

Vault.LoggedIn

Vault.Login

Vault.Logout

Vault.GetFileCopyBySourceFileNameAndAutoNumber()

Vault.GetFileCopyBySourceFileNameAndNewName()

Vault.MoveFile()

Vault.deleteFile() 

1 Comment
sebastien_forman
Enthusiast

and some new function:

 

Vault.HavParent

Vault.GetParents

Vault.HavChilds

Vault.GetChilds

 

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

Submit Idea  

Autodesk Design & Make Report