I would like to save multiple different object display color states in a model. Layer states controls the color of the layer itself, but not the objects within it.
For example, I would like to have one mode where all objects are white, then another where they are colored by volume. I can easily write a GH script to define these colors and apply them through Elefront, but would now like save these different object display color states so I can toggle between them.
If you already have the colors defined in Elefront I think the easiest method would be to switch between the states by indexing them and then choosing one at a time with a value list or slider or other method.
It looks like this is something that should be available in the snap shots but that isn’t currently the case.
→ RH-76250 SnapShot: Additional object properties
Currently, an object’s material assignment is stored in a snap shot, so you could create materials for each color and assign that to the objects, and then either use a rendered display mode or a shaded display mode that is modified to use an object’s material color.
-wim