Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
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']=truemodel.rendering_optionsreturns the model'sSketchup::RenderingOptionsclass instance.
see API for RenderingOptions -
Thanks! I would have searched a while for that.
Advertisement