XbimWebUI icon indicating copy to clipboard operation
XbimWebUI copied to clipboard

How to reset style of only one object ?

Open PIUM-arc opened this issue 2 years ago • 1 comments

I would like to know if there is a way to reset the style of a specific object, I'm using "SetStyle" method to colorize an object and I would like to go back to the original color without having to reset all styles (because I have other colorized objects). Is that possible ?

Thank you.

PIUM-arc avatar Apr 14 '23 13:04 PIUM-arc

Good suggestion - this does seem an oversight that we don't have a removeStyle() in the same way we have removeState().

Shouldn't be a big task - If anyone wants to submit a PR that would be helpful.

andyward avatar Apr 14 '23 15:04 andyward