AnsweredAssumed Answered

How to get default appearance in assembly document?

Question asked by Jana Stahn on Nov 26, 2019

When I have a part document and I call IModelDoc2.MaterialPropertyValues, I get the values

0.792156862745098, 0.819607843137255, 0.933333333333333, 1, 1, 0.5, 0.400000005960464, 0, 0

which correspond to the appearance that I get if I right-click the part and choose "appearance", i.e. this is the standard appearance values.


But if I call the same method on an assembly document, I get

0.752941176470588, 0.752941176470588, 0.752941176470588, 1, 1, 1, 0.3125, 0, 0

although right-clicking and choosing "appearance" will give the same values as above.


So my question is: How do I get the (would-be) standard material property values from an assembly document that currently has no appearance?