Material asset description property

VismantasKizelis
Contributor

Material asset description property

VismantasKizelis
Contributor
Contributor

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

 

0 Likes
Reply
351 Views
2 Replies
Replies (2)

goyals
Autodesk
Autodesk

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
0 Likes

VismantasKizelis
Contributor
Contributor

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.
0 Likes