ConstraintMajorRadius Class
The commands in the ConstraintMajorRadius class are described below.
.
More...
Inherits ConstraintObject.
ConstraintMajorRadius Class
The commands in the ConstraintMajorRadius class are described below.
.
The ConstraintMajorRadius class includes the commands for the following operation.
- Constraint major radius/major diameter settings
For more information about the properties for this class, see here .
| void ItemObject::AddPropertyByReference |
( |
String & |
name, |
|
|
ReferenceObject * |
value |
|
) |
| |
|
virtualinherited |
| double ConstraintMajorRadius::GetDiameter |
( |
| ) |
|
Returns the diameter.
- Returns
- Diameter
| 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
| double ConstraintMajorRadius::GetRadius |
( |
| ) |
|
Returns the radius.
- Returns
- Radius
| String ItemObject::GetScriptTypeName |
( |
| ) |
|
|
inherited |
Returns the name of the object type as a string.
- Returns
- Type name of object
| int ConstraintMajorRadius::GetType |
( |
| ) |
|
Returns type of radius or diameter in number.
- Returns
-
| 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 ConstraintMajorRadius::SetDiameter |
( |
double |
diameter | ) |
|
Specifies a diameter.
- 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 |
| void ConstraintMajorRadius::SetRadius |
( |
double |
radius | ) |
|
Specifies a radius.
- Parameters
-
| void ConstraintMajorRadius::SetType |
( |
int |
type | ) |
|
Specifies a type of radius/diameter constraint in number.
- Parameters
-