2.2.4.41 Selection

Name

Selection

Remark

The Selection class provides methods and properties to access objects in selection in currect project.

Hierarchy

  • Selection

Examples

EX1

void Selection_Ex1()
{
	foreach(OriginObject obj in Selection.Objects)
	{
		// .. do something ..
	}
}

Header to Include

origin.h

Reference

Members

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.