Vault-Model Browser Toggle button

  • Vault-Model Browser Toggle button
    May 13, 2008, 11:06 PM Brian Schanen

    Here 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 Next
     
    If ThisApplication.ActiveDocument.BrowserPanes.ActivePane.Name = "Model" Then
    ThisApplication.ActiveDocument.BrowserPanes.Item("Vault").Activate
    Exit Sub
    End If
     
    If ThisApplication.ActiveDocument.BrowserPanes.ActivePane.Name = "Vault" Then
    ThisApplication.ActiveDocument.BrowserPanes.Item("Model").Activate
    Exit Sub
    End If
     

    End 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.

Subscribe to Blog

Want to keep up with the latest? Subscribe to the RSS feed today.

RSS

Login

Register now to access tips, discussions and more.
Forgot your password ?

Tags

You must be logged in to add a tag.

Send to a Peer

You must login to share pages.

Feedback

Tell us what you think of the site.

Send Feedback