linkedin
Q:

How can I detect when the user triggers a Vault check-in from Inventor?

  • National Academy of RUDSETI
  • Mar 31, 2026

1 Answers

A:

You can monitor Inventor commands using the UserInterfaceEvents.OnActivateCommand event. The command name for Vault check-in is:

'VaultCheckinTop'

So in your Inventor Add-In, you can do:


AddHandler ThisApplication.UserInterfaceManager.UserInterfaceEvents.OnActivateCommand, AddressOf OnCommandActivated

Private Sub OnCommandActivated(CommandName As String)
    If CommandName = "VaultCheckinTop" Then
        ' Your logic here: activate all sheets
    End If
End Sub

This lets you intercept the moment the user initiates a Vault check-in from Inventor.

  • Deepak Nandwana
  • Apr 09, 2026

0 0

Related Question and Answers

A:

Yes. QuickBooks can connect to apps such as Shopify, BigCommerce, Square, PayPal, and other sales tools you may already be using

  • mukul
  • Apr 08, 2026

Q:

A:

HANDBRAKE is one of the most popular and free video conversion tools.

It is open source, easy to use, and works on Windows and Mac.

  • Mir Hussain
  • Mar 25, 2026

A:

Add Same Description to All Files in a Folder

This macro:

  • Opens each .ipt file in a folder
  • Sets the Description iProperty
  • Saves and closes the file

Sample VBA Code


Sub AddDescriptionToAllPartsInFolder()
    Dim folderPath As String
    folderPath = InputBox("Enter the folder path containing .ipt files:")

    Dim fso As Object
    Set fso = CreateObject("Scripting.FileSystemObject")

    Dim file As Object
    Dim partDoc As PartDocument

    Dim descriptionText As String
    descriptionText = InputBox("Enter the description to apply:")

    If fso.FolderExists(folderPath) Then
        For Each file In fso.GetFolder(folderPath).Files
            If LCase(fso.GetExtensionName(file.Name)) = "ipt" Then
                Set partDoc = ThisApplication.Documents.Open(file.Path, False)
                partDoc.PropertySets.Item("Design Tracking Properties").Item("Description").Value = descriptionText
                partDoc.Save
                partDoc.Close
            End If
        Next
        MsgBox "Descriptions updated for all .ipt files in folder."
    Else
        MsgBox "Folder not found!"
    End If
End Sub
  • Ravindra Warrich
  • Apr 09, 2026

A:

If the fx parameter is derived from another editable parameter, you can:

  • Use VBA to change the base parameter.
  • The fx parameter will update automatically.

Dim oPartDoc As PartDocument
Set oPartDoc = ThisApplication.ActiveDocument

Dim oParams As Parameters
Set oParams = oPartDoc.ComponentDefinition.Parameters

oParams.Item(\"BaseLength\").Value = 10 ' This affects fx parameters that depend on BaseLength
  • Terence Dasshna
  • Apr 03, 2026

A:

BOM Sorting via Inventor API

  1. Structured BOM View Access
    You can access and manipulate the Structured BOM using:
    
    Dim oBOM As BOM
    Set oBOM = oAssemblyDoc.ComponentDefinition.BOM
    
    oBOM.StructuredViewEnabled = True
    
    Dim oBOMView As BOMView
    Set oBOMView = oBOM.BOMViews.Item("Structured")
            
  2. Manual Sorting via Code
    The API does not provide direct sorting methods like .SortBy("Part Number"), but you can:
    • Extract BOMRows into a list
    • Sort them manually (e.g., by Part Number, Description, Quantity)
    • Rebuild or export the sorted data as needed

    Example:

    
    Dim sortedRows
    Set sortedRows = oBOMView.BOMRows ' Apply custom sorting logic as needed
            

    You can then use this sorted list for:

    • Exporting to Excel or text
    • Creating a custom report
    • Rebuilding a virtual BOM structure
  3. iLogic-Based Sorting
    If you're open to using iLogic, you can configure BOM sorting by exporting the BOM layout as XML and applying custom rules:
    • Autodesk guide on iLogic BOM sorting
  • surjeet kumar bhadra
  • Apr 09, 2026

Find the Best CAD Software

Explore all products with features, pricing, reviews and more

View All Software
img

Have a Question?

Get answered by real users or software experts

Ask Question

Help the community

Be the First to Answer these questions

In Autodesk Inventor drawings, how can I add standalone text boxes or use sketched symbols via VBA?

Write Answer

How can I change sketch text without manually using the Edit Text command in Inventor VBA?

Write Answer

How do I launch the iProperties and Material Styles dialogs via VBA in Inventor?

Write Answer

How do I place a component at a fixed XYZ location in an assembly via VBA?

Write Answer

Still got Questions on your mind?

Get answered by real users or software experts

Disclaimer

Techjockey’s software industry experts offer advice for educational and informational purposes only. A category or product query or issue posted, created, or compiled by Techjockey is not meant to replace your independent judgment.

Software icon representing 20,000+ Software Listed 20,000+ Software Listed

Price tag icon for best price guarantee Best Price Guaranteed

Expert consultation icon Free Expert Consultation

Happy customer icon representing 2 million+ customers 2M+ Happy Customers