Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
marco.vantrier
338 Views, 3 Replies

Part list filter settings true or flase VBA

Hello

is there a way to turn the parts list filter settings on and off with a vba code

 

marcovantrier_0-1656486527401.png

 

 

Thanks in advance!

WCrihfield
in reply to: marco.vantrier

Hi @marco.vantrier.  I have never seen anything available within Inventor's API that would allow us to access to the PartsList filter functionality by code yet.  I also just did a quick search of the Inventor Ideas forum to see if anyone else has posted a request for this ability.  I found a few posts about PartsList filtering, I was surprised that I did not find one specifically requesting the ability to access these settings though the Inventor API, VBA, or iLogic yet.  Maybe you could create a post there requesting it, then post a link to it back here.  It is something that folks have wanted for several years now.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

skyngu
in reply to: marco.vantrier

Hi, I am also interested in partlist filter though the VBA. is it available?

Autodesk Inventor Professional 2019
WCrihfield
in reply to: skyngu

Hi @skyngu.  They did actually add properties to the PartsList object, and its related objects, just for allowing us access to those filter settings (PartsList.FilterSettings, PartsListFilterSettings, PartsListFilterItem, PartsListFilterItem.FilterItemType, PartsListFilterItemTypeEnum).  However, those were just added in the 2024.1 update of Inventor, so they would not be available in 2019 version.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)