Any way to show/hide component axes via Ruby
-
Through the GUI you can show/hide group and component axes through "Model Info/Components/Show component axes" checkbox. Does anyone know if you can alter this via Ruby, I didn't see anything in the API documentation.
David
-
Your in luck !!
model.rendering_options['DisplayInstanceAxes']=true
model.rendering_options
returns the model'sSketchup::RenderingOptions
class instance.
see API for RenderingOptions -
Thanks! I would have searched a while for that.
Advertisement