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!
π Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download
Cannot clone Sketchup::Color objects
-
When you try to clone a Sketchup::Color object using .dup or .clone both methods return nil.
I ran into a case where I cloned a colour - at least I thought so - and gave it to a view.draw operation where SketchUp would then freeze.` c = Sketchup::Color.new('red')
Color(255, 0, 0, 255)
n = c.clone
nil
n = c.dup
nil`FYI
Advertisement