Get [Color By Layer] status from C API

Hello. How can I get the [Color By Layer] status from c api.
As we can use [Color By Layer] command in the UI, and save this model.

!Thanks.

it’s a Style setting, not sure which off hand, so you’ll need to look…

john

thanks john. I have found it.
call function SURenderingOptionsGetValue, and key/value is “DisplayColorByLayer | SUTypedValueType_Bool”.

2 Likes