02-20-2017
01:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-20-2017
01:30 AM
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