top of page
Banner_2.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

If you needed confirmation of the crisis ahead for Australia and New Zealand's water management, the Think Future Round Table, Working Together for our Climate Technology Future was a great place to s

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