ConstraintAngle Class
The commands in the ConstraintAngle class are described below.
.
More...
Inherits ConstraintObject.
ConstraintAngle Class
The commands in the ConstraintAngle class are described below.
.
The ConstraintAngle class that is under the ConstraintObject class includes commands for the following operations.
- Commands related to setting a constraint in an angle
For more information about the properties for this class, see here .
| void ItemObject::AddPropertyByReference |
( |
String & |
name, |
|
|
ReferenceObject * |
value |
|
) |
| |
|
virtualinherited |
| double ConstraintAngle::GetAngle |
( |
| ) |
|
Returns the angle.
- Returns
- Angle
| 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 ConstraintAngle::SetAngle |
( |
double |
angle | ) |
|
Specifies an angle.
- Parameters
-
| 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 |