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

Hi Martin,

 

The code provided by @rhasell seems to work for me.

The only change I had to make to it, was that in the Sort method, I had to ensure that the column name existed.

 

That is, in the following line of code:

 

Call oStructuredBOMView.Sort("BOM Structure",True ,"TYPE",True ,"Stock Number",True)

 

In this case, there has to be existing columns with Titles "BOM Structure" , "TYPE" and "Stock Number", else it may throw up an error.

 

 

Regards,

Sajith

 


Sajith Subramanian
Autodesk Developer Network