Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

sequence number before actions at Browser list

Anonymous

sequence number before actions at Browser list

Anonymous
Not applicable

does Inventor have the function that shows the sequence umber before actions at the browser panel?

like the below picture shows:, this will helps me a lot to modify the a big file which may has hundreds steps. thanks. 

无标题.png

 

0 Likes
Reply
315 Views
1 Reply
Reply (1)

chandra.shekar.g
Autodesk Support
Autodesk Support

@Anonymous,

 

Renaming Browserlist is same as renaming PartFeature. So, try below VBA code to rename Features with sequence number.

Sub Main()
    Dim oDoc As PartDocument
    Set oDoc = ThisApplication.ActiveDocument
    
    Dim oDef As PartComponentDefinition
    Set oDef = oDoc.ComponentDefinition
    
    Dim oFeature As PartFeature
    Dim i As Integer
    i = 1
    For Each oFeature In oDef.Features
        oFeature.Name = i & "_" & oFeature.Name
         
        i = i + 1
    Next
End Sub

Note: if you delete any feature, sequence number will not be consistent.

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes