-
Vault-Model Browser Toggle button
May 13, 2008, 11:06 PM Brian SchanenHere is a great usability tip for toggling the Inventor model browser over to the Vault browser – and back. This is especially nice for both Inventor power users and those of us who demonstrate Vault with Inventor regularly – and you know who you are. You can use the following code in a IVB file and then Create a button in a Toolbar and assign the Below macro to the button:
Sub Toggle_Model_Vault()
On Error Resume NextIf ThisApplication.ActiveDocument.BrowserPanes.ActivePane.Name = "Model" ThenThisApplication.ActiveDocument.BrowserPanes.Item("Vault").ActivateExit SubEnd IfIf ThisApplication.ActiveDocument.BrowserPanes.ActivePane.Name = "Vault" ThenThisApplication.ActiveDocument.BrowserPanes.Item("Model").ActivateExit SubEnd IfEnd Sub

You can also assign some short-cut (Accelerator) keys to execute the Toggle function while working in Inventor.

Cheers.
-Brian Schanen
1 Comment | Add Comment >
Comments
-
May 14, 2008 08:17 PM Josh Hunt
awesome code Brian, it's the next best thing to integrating the Model and Vault browsers.
You must be logged in to post a comment.