MeasurementVariable class is used for MeasurementVariable settings.
The class can be called from MeasurementVariableList class.
.
More...
Public Member Functions | |
| void | AddSelected (Selection *selection) |
| Adds the selected parts, faces, or edges to the MeasurementVariable. More... | |
| void | ClearParts () |
| Removes all parts, faces, or edges from the measurement variable. | |
| String | GetName () |
| Returns MeasurementVariable name. More... | |
| Selection * | GetSelection () |
| Returns the Selection object of parts, faces, or edges included in a measurement variable. More... | |
| String | GetType () |
| Returns MeasurementVariable type. More... | |
| bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | NumParts () |
| Returns the number of parts, faces, or edges. More... | |
| void | SetName (String &name) |
| Specifies a MeasurementVariable name. More... | |
| void | SetType (String &type) |
| Specifies a MeasurementVariable type. More... | |
MeasurementVariable class is used for MeasurementVariable settings.
The class can be called from MeasurementVariableList class.
.
Example of obtaining the class object:
| void MeasurementVariable::AddSelected | ( | Selection * | selection | ) |
Adds the selected parts, faces, or edges to the MeasurementVariable.
| selection | Selected parts, faces, or edges |
| String MeasurementVariable::GetName | ( | ) |
Returns MeasurementVariable name.
| Selection * MeasurementVariable::GetSelection | ( | ) |
| String MeasurementVariable::GetType | ( | ) |
Returns MeasurementVariable type.
| bool MeasurementVariable::IsValid | ( | ) |
Returns True if an object is valid.
| int MeasurementVariable::NumParts | ( | ) |
Returns the number of parts, faces, or edges.
| void MeasurementVariable::SetName | ( | String & | name | ) |
Specifies a MeasurementVariable name.
| name | Measurement variable name |
| void MeasurementVariable::SetType | ( | String & | type | ) |
Specifies a MeasurementVariable type.
| type | Measurement variable type (part, face, or edge) |