Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Part list filter settings true or flase VBA

marco.vantrier
Explorer

Part list filter settings true or flase VBA

marco.vantrier
Explorer
Explorer
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!

0 Likes
Reply
Accepted solutions (1)
337 Views
3 Replies
Replies (3)

WCrihfield
Mentor
Mentor
Accepted solution

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)

0 Likes

skyngu
Collaborator
Collaborator

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

Autodesk Inventor Professional 2019
0 Likes

WCrihfield
Mentor
Mentor

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)