Hidden Geometry status

How can I obtain in ruby status of Hidden Geometry?
I can change it using:


but I don’t have idea how to check if ShowHidden is on or off.

Do a search in the Ruby API for “RenderingOptions”

puts Sketchup.active_model.rendering_options["DrawHidden"]

1 Like

Thanks Jim.

Sure. You want to avoid using send_action where ever there is an equivalent Rendering Option.

1 Like