Selection
The Selection class provides methods and properties to access objects in selection in currect project.
EX1
void Selection_Ex1() { foreach(OriginObject obj in Selection.Objects) { // .. do something .. } }
origin.h
| Name | Brief | Example |
|---|---|---|
| Add | Selects object | Examples |
| IsSelected | Test to see whether a specific object is selected. | Examples |
| Objects | To get the selected Origin object by index. | Examples |
| Remove | Unselects object | Examples |
| Reset | Deselect all objects | Examples |
| Selection | The constructor. | |
| ~Selection | The destructor. |