GeomSelection Class
The commands in the GeomSelection class are described below.
.
More...
Public Member Functions | |
| void | Add (ItemObject *object) |
| Selects an object, such as a part, face, edge, or vertex. More... | |
| void | AddReferenceObject (ReferenceObject *object) |
| Adds ReferenceObject to the list. More... | |
| void | Clear () |
| Clears the selection of an object. | |
| void | Copy () |
| Copies the selected object. | |
| int | Count () |
| Returns the number of objects that are selected. More... | |
| int | CountReferenceObject () |
| Returns number of selected ReferenceObject. More... | |
| void | Cut () |
| Cuts the object that is selected. | |
| void | Delete () |
| Deletes an object that is selected. | |
| ReferenceObject * | GetReferenceObject (int iIndex) |
| Returns the ReferenceObject that is selected. More... | |
| ItemObject * | Item (int iIndex) |
| Returns a list of objects that are selected. More... | |
| void | Paste () |
| Pastes the object that is selected. | |
| void | Paste2D (double X, double Y) |
| Pastes the object that is selected (displacement is specified). More... | |
| void | Remove (int iIndex) |
| Removes the objects which IDs are selected from all of the selected objects. More... | |
| void | Reorder (ItemObject *object, ItemObject *target) |
| Moves the order next to the specified object (target) for the object (base) that is selected. More... | |
GeomSelection Class
The commands in the GeomSelection class are described below.
.
The GeomSelection class includes the commands for the following operation.
| void GeomSelection::Add | ( | ItemObject * | object | ) |
Selects an object, such as a part, face, edge, or vertex.
| object | ItemObject object |
| void GeomSelection::AddReferenceObject | ( | ReferenceObject * | object | ) |
Adds ReferenceObject to the list.
| object | ReferenceObject object |
| int GeomSelection::Count | ( | ) |
Returns the number of objects that are selected.
| int GeomSelection::CountReferenceObject | ( | ) |
Returns number of selected ReferenceObject.
| ReferenceObject * GeomSelection::GetReferenceObject | ( | int | iIndex | ) |
Returns the ReferenceObject that is selected.
| iIndex | Index of ReferenceObject |
| ItemObject * GeomSelection::Item | ( | int | iIndex | ) |
| void GeomSelection::Paste2D | ( | double | X, |
| double | Y | ||
| ) |
Pastes the object that is selected (displacement is specified).
| X | Displacement of X-direction |
| Y | Displacement of Y-direction |
| void GeomSelection::Remove | ( | int | iIndex | ) |
Removes the objects which IDs are selected from all of the selected objects.
| iIndex | IDs of the objects that are selected |
| void GeomSelection::Reorder | ( | ItemObject * | object, |
| ItemObject * | target | ||
| ) |
Moves the order next to the specified object (target) for the object (base) that is selected.
| object | Name or ID of the object |
| target | Name or ID of the object |
The procedures for setting the constraint changes (first one selected is the master and the second and after is the slave) by the order in which the basic shapes specified as the target when constraint is added.
In this case, the order can be switched by selecting Reorder.