Message 1 of 4
Check-in Vault in invisible document
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am implementing a device configurator where we provide all the parameters for the device, and then a new model is created along with new drawings and changes to individual references to elements that are part of this assembly. In the end, I would like to save the new assembly along with its parts and drawings to the vault.
Previously, I did this using the following code:
Dim oControlDef As Inventor.ControlDefinition oControlDef = ThisApplication.CommandManager.ControlDefinitions.Item("VaultCheckinTop") oControlDef.Execute()
But at this point, operations on the new model and new drawings take place in invisible mode, for example:
oDraw =ThisApplication.Documents.Open(newDrawingPath + idwExtension, False) oDraw.ReferencedDocumentDescriptors.Item(1).ReferencedFileDescriptor.ReplaceReference(newDrawingPath & extension) oDraw.Save()
Is it possible to save individual elements without using the CommandManager?