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
How to open attributes ?
-
Good day !
On this great forum I found the code which creates a simple cubenew_comp_def = Sketchup.active_model.definitions.add("MyCube") ; points = Array.new ; points[0] = ORIGIN ; points[1] = [100, 0 , 0] ; points[2] = [100, 100, 0] ; points[3] = [0 , 100, 0] ; newface = new_comp_def.entities.add_face(points) ; newface.reverse! if newface.normal.z < 0 ; newface.pushpull(100) ; trans = Geom;;Transformation.new ; Sketchup.active_model.active_entities.add_instance(new_comp_def, trans) ;But immediately after creation of the Cube section of the size attributes closed
screen1.
how to modify the code to section size attributes (or any other ) was opened ?
screen2


-
Advertisement