top of page
dpm-services.png
[   RESOURCES   ]
VinZero | An Arkance Company

Inventor - Parts list sorting (iLogic)

January 26, 2022 By Florentina Stirbu


The Parts List table default style can be configured in the Style Library manager. This allows for selecting the properties to be included in the tables as columns and setting the width for each, defining the text style used and setting any groups/filters needed.


However, sorting cannot be defined in the Style Library. On all parts list tables, the sorting is off by default – for each individual table, on all drawings, a user would have to manually edit the sorting.


iLogic can be used to set sorting parameters and the code can be included in the drawing template if the same sorting is expected across multiple drawings.

There are 2 methods that can be used for sorting:


Partslist.Sort – each column to sort by is listed as string, followed by a Boolean to set the sorting to ascending (True) or descending (false).

Partslist.Sort2 - has two additional Booleans for sorting by string and auto sorting on update.

Default:

After running the code:


The iLogic code is attached below – change the column strings and/or Boolean values as needed.


Related Posts

See All

Building a water resilient future

ARKANCE proudly contributes to World Green Building Council’s Water Publication premiered at COP 28. November 15, 2023, World GBC and their global network of Green Building Councils, partners and expe

homepage_bg.jpg
[   VINZERO. RETHINK & LEVERAGE   ]

Explore our Think Community.

VinZero's Think Future Podcast

Coming Soon!

See how other companies are working towards net zero

Case studies and blogs featuring VinZero in Action around the globe

Live webinars that allow you to learn at a time that suits you

Create your own Think Folder of favourite resources

bottom of page