Message 1 of 3
Changing properties of multiple materials with .net

Not applicable
08-01-2017
02:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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