Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Material asset description property

2 REPLIES 2
Reply
Message 1 of 3
VismantasKizelis
234 Views, 2 Replies

Material asset description property

Hello

I'm accessing different material properties with materialProperties()->itemById(..) function. However I cannot find id for description property.

How to access the description property of material asset?Annotation 2019-07-12 103556.png

 

Tags (2)
2 REPLIES 2
Message 2 of 3
goyals
in reply to: VismantasKizelis

May be it is not exposed through API. Following are the only string properties exposed for a material. I tried that for 'Steel' and this is what I got.

 

('Class', '')

('physmat_classification', 'Autodesk.Material Classifications.Metal.Ferrous.Carbon Steel')

('External Material ID', '2:MATERIAL:MI_InventorSustainability:443FF4C0-B220-406B-A03C-AE1602BB69A3:48745BB7-BE14-4E5F-B4E0-4C3D4A7AE7A5:0')

('Source', 'Autodesk')

('Source URL', '')

('Subclass', 'Steel')

('Source', 'Autodesk')

('Source URL', '')

('Subclass', 'Metal')



Shyam Goyal
Sr. Software Dev. Manager
Message 3 of 3
VismantasKizelis
in reply to: goyals

I found some more:

'physmat_Type',
'physmat_Comments',
'physmat_Keywords',
'physmat_Manufacturer',
'physmat_Model',
'physmat_Cost',
'physmat_URL',
'structural_source',
'nastructural_subclassme'... and others
 
unfortunately none of them exposes the description.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report