linkedin
Q:

Can I extract the path of IDW files linked to an Assembly Document using Autodesk Inventor Apprentice?

  • Yogesh
  • Dec 08, 2025

1 Answers

A:

Yes, but it's a bit tricky! ApprenticeServer doesn't inherently track which IDW files are associated with an AssemblyDocument. Instead, you need to query all possible IDW files in the project and check if they reference the assembly.

A common approach is:

  • Scan the project directory for IDW files.
  • Open each IDW file using ApprenticeServer.
  • Check the referenced documents to see if they include the assembly.
  • Divakar Kumar
  • Dec 23, 2025

0 0

Related Question and Answers

A:

The "+/-" toggle in the Edit Parts List dialog controls the expansion or collapse of structured BOM rows, especially in hierarchical assemblies. Unfortunately, this UI element isn’t directly exposed via the Inventor API or VBA as a toggle method.

However, there are workarounds depending on what you're trying to achieve:

Control Structured View via PartsListRow.ChildRows

You can simulate expansion/collapse by hiding or showing child rows programmatically. Here's a VBA snippet that toggles visibility:


Dim oDrawDoc As DrawingDocument
Set oDrawDoc = ThisApplication.ActiveDocument

Dim oPartsList As PartsList
Set oPartsList = oDrawDoc.ActiveSheet.PartsLists.Item(1)

Dim oRow As PartsListRow
For Each oRow In oPartsList.PartsListRows
    If oRow.ChildRows.Count > 0 Then
        ' Toggle visibility of child rows
        Dim oChildRow As PartsListRow
        For Each oChildRow In oRow.ChildRows
            oChildRow.Visible = Not oChildRow.Visible
        Next
    End If
Next

This doesn’t affect the "+/-" icon directly, but it mimics the behavior by collapsing or expanding rows.

  • Zareena Sultan
  • Apr 01, 2026

A:

Use HealthStatus to Detect Failure

Every feature in Inventor has a HealthStatus property. You can use this to check if a feature is up-to-date, suppressed, or has failed.

Example (VBA-style pseudocode):


Dim oFeature As PartFeature
Set oFeature = oPartDoc.ComponentDefinition.Features.Item("MyExtrude")

If oFeature.HealthStatus <> kUpToDateHealth And oFeature.HealthStatus <> kSuppressedHealth Then
    oFeature.Suppressed = True
End If
  • Archana Parikh
  • Mar 31, 2026

A:

In Autodesk Inventor, text justification in custom tables is a bit limited and unfortunately, you cannot programmatically justify the title text of a custom table using the API.

  • Kateregga
  • Apr 02, 2026

A:

Yes, it is possible to reposition elevation view labels (or any drawing view labels) in Inventor using the API, either by default through styles or programmatically via code.

  • Terence Chan
  • Apr 01, 2026

A:

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

Set "Active Component ISO View on Save" via Code

You can use the SetThumbnailSaveOption method to programmatically set the thumbnail behavior:

VBA Example


Sub SetThumbnailToIsoView()
    Dim oDoc As Document
    Set oDoc = ThisApplication.ActiveDocument

    ' Set the thumbnail save option to ISO view
    oDoc.SetThumbnailSaveOption ThumbnailSaveOptionEnum.kActiveComponentIsoViewOnSave

    ' Save the document to apply the change
    oDoc.Save
End Sub

Batch Processing

  1. Use FileSystemObject or Dir to loop through .ipt or .iam files.
  2. Open each file with ThisApplication.Documents.Open(...).
  3. Apply SetThumbnailSaveOption.
  4. Save and close.

```

  • Beer Singh Rawat
  • Apr 02, 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

How do I check whether a sheet metal part in Autodesk Inventor has a flat pattern using VBA?

Write Answer

How can I access and manipulate custom iProperties (on the Custom tab) in Autodesk Inventor using VBA?

Write Answer

Can I integrate Autodesk Vault functionality into my Autodesk Inventor add-ins or automation?

Write Answer

I need to create a workpoint, but i can't find the way to use the method. For example, how I can to create a workpiont at the 2.5, 3,5.3 coords?

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