Changing properties of multiple materials with .net

Changing properties of multiple materials with .net

Anonymous
Not applicable
450 Views
2 Replies
Message 1 of 3

Changing properties of multiple materials with .net

Anonymous
Not applicable

Hello,

 

I'm trying to change the reflectivity property of multiple materials in single AutoCAD drawing with .net application.

I'm changing the REFLECTIVITY propertiy of Material object (in .net) but whatever I do after I run the command and look at the materials I see that they have been all reseted back to reflectivity 0, regardless of what value I set in the code (I have tripple checked that I didn't forgot to commit transaction:)).

 

I'm also a little bit confused because I can see Direct and Oblique reflectivity properties in AutoCAD's materials editor while .net Material object has only one reflectivity property.

 

Does anyone have any idea how to solve this problem?

 

Any help will be much appreciated.

 

Thank you

 

Regards

 

 

 

0 Likes
451 Views
2 Replies
Replies (2)
Message 2 of 3

deepak.a.s.nadig
Alumni
Alumni

Thank you for reporting this. I am able to recreate the behaviour trying to set the reflectivity of a material. This issue has been reported to the Engineering team for their analysis. 

0 Likes
Message 3 of 3

Anonymous
Not applicable

Thank you.

I also tried to change the property with AutoLISP but at the end the behavior was the same.

 

Regards

0 Likes