ConstraintObject Class
The commands in the ConstraintObject class are described below.
.
More...
Inherits SketchItem.
Inherited by ConstraintAngle, ConstraintAngleFromXAxis, ConstraintAngleFromYAxis, ConstraintCoincident, ConstraintCoincidentWithOrigin, ConstraintCoincidentWithXAxis, ConstraintCoincidentWithYAxis, ConstraintConcentricity, ConstraintConcentricityWithOrigin, ConstraintDistance, ConstraintDistanceFromOrigin, ConstraintDistanceFromXAxis, ConstraintDistanceFromYAxis, ConstraintExternalCoincident, ConstraintFixture, ConstraintHorizontalDistance, ConstraintHorizontality, ConstraintMajorRadius, ConstraintMinorRadius, ConstraintParallelism, ConstraintPerpendicularity, ConstraintRadius, ConstraintRigidSet, ConstraintTangency, ConstraintTangencyWithXAxis, ConstraintTangencyWithYAxis, ConstraintVerticalDistance, and ConstraintVerticality.
ConstraintObject Class
The commands in the ConstraintObject class are described below.
.
| void ItemObject::AddPropertyByReference |
( |
String & |
name, |
|
|
ReferenceObject * |
value |
|
) |
| |
|
virtualinherited |
| ItemObject * ItemObject::GetItem |
( |
Variant & |
value | ) |
|
|
inherited |
Returns an item displayed in the [Model Manager] tree such as assembly, part and sketch. Index is numbered in the order of the each items shown in the tree.
- Parameters
-
- Returns
- ItemObject object
| String ItemObject::GetName |
( |
| ) |
|
|
inherited |
Returns a name.
- Returns
- Item name
| Variant ItemObject::GetProperty |
( |
String & |
name | ) |
|
|
virtualinherited |
Returns the value of the property with the specified name.
- Parameters
-
- Returns
- Value of properties
| String ItemObject::GetScriptTypeName |
( |
| ) |
|
|
inherited |
Returns the name of the object type as a string.
- Returns
- Type name of object
| virtual bool SketchItem::IsValid |
( |
| ) |
|
|
virtualinherited |
Returns True if an object is valid.
- Returns
- Whether or not the object are valid
Reimplemented from ItemObject.
| int ItemObject::NumItems |
( |
| ) |
|
|
inherited |
Returns the number of items.
- Returns
- Item count
| void ItemObject::SetName |
( |
String & |
name | ) |
|
|
inherited |
Specifies a name.
- Parameters
-
| void SketchItem::SetProperty |
( |
String & |
name, |
|
|
Variant & |
value |
|
) |
| |
|
virtualinherited |
Specifies a value of property.
- Parameters
-
| name | Property name |
| value | Value of properties |
Reimplemented from ItemObject.
| void ItemObject::SetPropertyByReference |
( |
String & |
name, |
|
|
ReferenceObject * |
value |
|
) |
| |
|
virtualinherited |