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