Set "Reflection Environment" image via API

Set "Reflection Environment" image via API

DRoam
Mentor Mentor
658 Views
3 Replies
Message 1 of 4

Set "Reflection Environment" image via API

DRoam
Mentor
Mentor

We can change several color scheme options under either Application.ColorSchemes (for global color settings) or Application.ActiveColorScheme (for scheme-specific color settings). I see most options from the Application Options\Colors tab available in one of those two places, except for one: the "Reflection Environment" image.

 

Is there an API method for setting the Reflection Image somewhere that I'm not seeing?

0 Likes
Accepted solutions (1)
659 Views
3 Replies
Replies (3)
Message 2 of 4

DRoam
Mentor
Mentor
Accepted solution

I found it using intellisense in Visual Studio. The API is there and works fine, it's just not documented. The method is: 

 

ColorScheme.ReflectionEnvironmentFileName

 

This should be added to the documentation. @ChrisMitchell01, are you the right guy to ping for documentation issues?

0 Likes
Message 3 of 4

ChrisMitchell01
Community Manager
Community Manager

Good that you found this; I'll request that it's documented.

 

Thanks,
Chris



Chris Mitchell
PDMS Customer Engagment Team
Autodesk, Inc.

Message 4 of 4

ChrisMitchell01
Community Manager
Community Manager

So apparently you "found" an API that we didn't plan to fully support until 2020.2; that's why it's not documented yet. As far as i know you should be Ok to use it though.

 

-Chris



Chris Mitchell
PDMS Customer Engagment Team
Autodesk, Inc.

0 Likes