💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
How to achieve selection of face by mouse, Ruby?
-
Hi,all
I want to write a script to achieve the following functions
There is a BOX, BOX is a group
.
In 1, I do not enter the group, click the left mouse button in a BOX, can select the face.
Click in any face, you can select the corresponding face, and before the select face, will not be canceled
select, until I press the keyboard ESC key to cancel all select.2, when select one or more face, press CTRL, pop up a HTML interface, the interface has been defined
there are three items of information, users can use the three information fill in the corresponding content and then click save data.The three is information, name, ID, classification.
Thanks!
Advertisement