linkedin
Q:

How can you show a loading or “please wait” indicator when launching Autodesk Inventor from VB6?

  • Date Restaurant
  • Mar 31, 2026

1 Answers

A:

Here are a few practical strategies you can use in VB6:

  1. Show a "Please Wait" Form with Animation or Progress Bar

    Since you can't predict exact progress during Inventor startup, use a marquee-style progress bar or animation to show that something is happening.

    Example: VB6 Form with ProgressBar

    
    ' In your main form or startup module
    Sub LaunchInventor()
        frmWait.Show
        frmWait.Refresh
    
        Dim invApp As Object
        Set invApp = CreateObject("Inventor.Application")
    
        frmWait.Hide
        MsgBox "Inventor launched successfully!"
    End Sub
            
    • frmWait is a small form with a label like "Launching Inventor..." and optionally a ProgressBar control.
    • You can use a timer or animation (e.g., rotating icon) to simulate activity.
  2. Use Windows API to Show Hourglass Cursor

    
    Screen.MousePointer = vbHourglass
    Set invApp = CreateObject("Inventor.Application")
    Screen.MousePointer = vbDefault
            

    This gives a subtle but familiar cue that something is loading.

  • De'Dzines
  • Apr 08, 2026

0 0

Related Question and Answers

A:

Yes, you absolutely can sell your Inventor add-in, and Autodesk provides a formal channel for doing so through the Autodesk App Store. Here’s what you need to know:

Selling Your Add-In via Autodesk App Store

  • Eligibility
  • Submission Process
  • Monetization Options
  • Guidelines
  • Kateregga
  • Apr 09, 2026

A:

To avoid false positives, you can check if the link is still active before trusting the Mirror property:


Dim oDerivedPartComp As DerivedPartComponent
Set oDerivedPartComp = oCompDef.Features.DerivedPartComponents.Item(1)

If Not oDerivedPartComp.ReferencedFile Is Nothing Then
    If oDerivedPartComp.Definition.Mirror = True Then
        ' Valid mirrored derived part
    End If
Else
    ' Link is broken — don't trust Mirror property
End If

This ensures you're only evaluating the Mirror flag when the derived part is still linked to its source.

  • Aswin Thapa
  • Apr 10, 2026

A:

Here is your content converted into **HTML format** with clean structure and preserved VBA code: ```html

Setting Model State via API (for non-iAssembly documents)

Here’s how to set the active Model State for a part or assembly document:


Dim oDoc As Document
Set oDoc = ThisApplication.ActiveDocument

Dim oModelStates As ModelStates
Set oModelStates = oDoc.ComponentDefinition.ModelStates

' Activate a specific model state by name
Dim targetState As String
targetState = "CustomState1"

If oModelStates.Item(targetState).Name <> oDoc.ComponentDefinition.ActiveModelState.Name Then
    oModelStates.Item(targetState).Activate
End If
  • Austin Lugterer
  • Apr 08, 2026

A:

Inventor Release 11 and later support saving PNG images using the SaveAsBitmapWithOptions method. This was not available before Release 6, but by R11, it's fully functional.

Here’s a working example adapted for R11:


Sub SaveIsometricViewAsPNG()
    Dim oView As View
    Set oView = ThisApplication.ActiveView

    ' Set camera to isometric view
    With oView.Camera
        .ViewOrientationType = kIsoTopRightViewOrientation
        .Fit
        .Apply
    End With

    ' Define PNG export options
    Dim options As NameValueMap
    Set options = ThisApplication.TransientObjects.CreateNameValueMap
    options.Value("TransparentBackground") = True ' Optional: set to False for solid background

    ' Save as PNG
    Dim ImgFname As String
    ImgFname = "C:\Temp\MyPart.png"
    Call oView.SaveAsBitmapWithOptions(ImgFname, 400, 400, options)
End Sub
  • Austin Lugterer
  • Apr 10, 2026

A:

Step-by-Step: Enable 18' Pipe in Tube & Pipe Routes

  1. Edit Content Center Family
    • Open Content Center Editor from the Tools tab.
    • Locate the pipe family you're using (e.g., ANSI B36.10 Steel Pipe).
    • Right-click → Edit Family.
    • Add a new row with:
      • Nominal Diameter: 18
      • Outside Diameter: 18.0 (or per spec)
      • Wall Thickness: as required
      • Ensure all required parameters are filled.
  2. Publish the Family
    • Save and publish the updated family back to Content Center.
    • Restart Inventor if needed to refresh the library.
  3. Update Tube & Pipe Style
    • Go to Tube & Pipe Styles.
    • Select your style (e.g., "Steel Pipe").
    • Click Edit next to the pipe component.
    • Click Change Size → Select the new 18' size.
    • Apply and save the style.
  4. Create Route with 18' Pipe
    • Start a new route.
    • Select the updated style.
    • The 18' pipe should now be available for placement.
  • Archana Parikh
  • Apr 07, 2026
Autodesk Inventorlogo

Autodesk Inventor

Autodesk

4.4

View Details
img

Have you used this product?

Share your experience, help others make better choices!

Add Review
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 VBA/iLogic, what newline characters should I use to get proper multi-line text in notes or parameters?

Write Answer

Can I control the “Defer Updates” flag when opening a drawing using the Autodesk Inventor VBA API?

Write Answer

In Autodesk Inventor, what are some ways to effectively “shrink” or scale a drawing for special formats using IDW and AutoCAD?

Write Answer

How do I suppress an assembly feature in an Autodesk Inventor assembly?

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