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

Hi @pts_user.  The MaterialAsset (and the regular Asset) have both a DisplayName property, and a Name property.  The DisplayName is what you normally see in the list, the regular Name is stable for all languages.  If neither of those returns the information you are looking for, then maybe there is something in one of the AssetValues of the Asset that will provide the information you are looking for.  I am not familiar with the Fusion360 API, or its Material object, but there is no longer a regular Material object in the Inventor API since around 2013.  You can read more about this at the following online help page.

Consistent Materials (Materials and Appearances) 

I have also attached a text file containing an iLogic rule you can try out.  It can be ran from either a part or assembly.  If ran from a part, it will get its active material, and provide a full report about its details.  If ran from an assembly, it will get the 'DefaultVirtualComponentMaterial' and report about that.  And if the assembly is a weldment, it will get its WeldBeadMaterial and report about that as well.  However, an assembly does not have its own active material, like a part does, because everything that exists within an assembly is from the components that you put into the assembly, with the exception of the weld beads in a weldment.  It currently outputs its report into the iLogic Log window, but that could be changed to write it out to a text file, or something like that.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)