
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to write an add-in that imports a PartsListStyle from an existing .styxml file. Since the direct import is not possible within the API (in contrast to the UI), the add-in will copy an existing style and then adjust everything to the style to be imported, reading from the .styxml file.
When adding the columns, I managed to add every possible column except for VOLUME. This is not possible because the PartsListStyle.AddColumn() method does not except the PropertyType although the required PropertyTypeEnum has a value kVolumePartsListProperty which obviously corresponds to the property VOLUME (all the others don't - I checked).
The documentation of the API (https://help.autodesk.com/view/INVNTOR/2021/ENU/?guid=GUID-086A1432-BA39-4C8C-B7E1-FD2D1B9B2F09) excludes this parameter.
But why is this not possible? And how can I add the property VOLUME via API?
Solved! Go to Solution.