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

Compare materials with those in certain library; Purge unused materials within part document

Hi,

 

I'm trying to make something that will do two separate but related things:

 

  1. I need to find a way to determine if a part document's material is specified by/originates from a certain material library;
  2. And I also need to find a way to purge any materials local to a part file which are not used by any of its model states.

 

I found this forum post which describes how to access the associated material libraries of a project, but the objects here appear to be just references to, and not a way to access any of the data contained within, the library files themselves.

 

Is there any way to do this?

 

Thanks