RevolveSolid Class
The commands in the RevolveSolid class are described below.
.
More...
Inherits ItemObject.
Public Member Functions | |
| virtual void | AddPropertyByReference (String &name, ReferenceObject *value) |
| Adds ReferenceObject object to a specified variable. More... | |
| double | GetAngle () |
| Returns value of an angle for extruding a solid in a radial direction. More... | |
| ReferenceObject * | GetAxis () |
| Returns rotation axis for extruding a solid in radial direction. More... | |
| ItemObject * | GetItem (Variant &value) |
| 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. More... | |
| bool | GetMerge () |
| Returns whether or not to merge with an existing geometry. More... | |
| String | GetName () |
| Returns a name. More... | |
| virtual Variant | GetProperty (String &name) |
| Returns the value of the property with the specified name. More... | |
| bool | GetReverse () |
| Returns True as a value when a direction is reversed. More... | |
| String | GetScriptTypeName () |
| Returns the name of the object type as a string. More... | |
| Sketch * | GetSketch () |
| Returns a sketch that is used to extrude solids. More... | |
| int | GetType () |
| Returns True or False as the value for the type of extrusion. More... | |
| String | GetTypeAsString () |
| Returns the type of extrusion to revolve a solid as a string. More... | |
| virtual bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | NumItems () |
| Returns the number of items. More... | |
| void | SetAngle (double value) |
| Specifies an angle for extruding a solid a radial direction. More... | |
| void | SetAxis (ReferenceObject *axis) |
| Specifies a rotation axis. More... | |
| void | SetData (ReferenceObject *axis, double height, bool reverse) |
| Specifies the rotation axis, angle of revolve extrude and whether or not to reverse the direction of revolve extrude. More... | |
| void | SetMerge (bool value) |
| Specifies whether or not to merge with an existing geometry. More... | |
| void | SetName (String &name) |
| Specifies a name. More... | |
| virtual void | SetProperty (String &name, Variant &value) |
| Specifies a value of property. More... | |
| virtual void | SetPropertyByReference (String &name, ReferenceObject *value) |
| Specifies the values in properties by ReferenceObject object. More... | |
| void | SetReverse (bool value) |
| Specifies whether or not to reverse the direction. More... | |
| void | SetType (int value) |
| Specifies True or False as the value for the type of extrusion. More... | |
| void | SetTypeByName (String &value) |
| Specifies True or False as the value for the type of extrusion. More... | |
RevolveSolid Class
The commands in the RevolveSolid class are described below.
.
The RevolveSolid class includes the commands for the following operation.
For more information about the properties for this class, see here .
|
virtualinherited |
Adds ReferenceObject object to a specified variable.
| name | Property name |
| value | ReferenceObject object (target) |
| double RevolveSolid::GetAngle | ( | ) |
Returns value of an angle for extruding a solid in a radial direction.
| ReferenceObject * RevolveSolid::GetAxis | ( | ) |
Returns rotation axis for extruding a solid in radial direction.
|
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.
| value | Item name or index |
| bool RevolveSolid::GetMerge | ( | ) |
Returns whether or not to merge with an existing geometry.
|
inherited |
Returns a name.
|
virtualinherited |
Returns the value of the property with the specified name.
| name | Property name |
| bool RevolveSolid::GetReverse | ( | ) |
Returns True as a value when a direction is reversed.
|
inherited |
Returns the name of the object type as a string.
| Sketch * RevolveSolid::GetSketch | ( | ) |
Returns a sketch that is used to extrude solids.
| int RevolveSolid::GetType | ( | ) |
Returns True or False as the value for the type of extrusion.
| String RevolveSolid::GetTypeAsString | ( | ) |
Returns the type of extrusion to revolve a solid as a string.
|
virtualinherited |
Returns True if an object is valid.
Reimplemented in Sketch, Part, SketchItem, and MeshPart.
|
inherited |
Returns the number of items.
| void RevolveSolid::SetAngle | ( | double | value | ) |
Specifies an angle for extruding a solid a radial direction.
| value | Angle |
| void RevolveSolid::SetAxis | ( | ReferenceObject * | axis | ) |
Specifies a rotation axis.
| axis | ReferenceObject object |
| void RevolveSolid::SetData | ( | ReferenceObject * | axis, |
| double | angle, | ||
| bool | reverse | ||
| ) |
Specifies the rotation axis, angle of revolve extrude and whether or not to reverse the direction of revolve extrude.
| axis | Rotation axis |
| angle | Angle of revolve extrude |
| reverse | True=1 : reverse
False=0 : Do not reverse
|
| void RevolveSolid::SetMerge | ( | bool | value | ) |
Specifies whether or not to merge with an existing geometry.
| value | True=on : Merge
False=off : Do not merge
|
|
inherited |
Specifies a name.
| name | Item name |
|
virtualinherited |
Specifies a value of property.
| name | Property name |
| value | Value of properties |
Reimplemented in SketchItem.
|
virtualinherited |
Specifies the values in properties by ReferenceObject object.
| name | Property name |
| value | ReferenceObject object (target) |
| void RevolveSolid::SetReverse | ( | bool | value | ) |
Specifies whether or not to reverse the direction.
| value | True=on : Reverse
False=off : Do not reverse
|
| void RevolveSolid::SetType | ( | int | value | ) |
Specifies True or False as the value for the type of extrusion.
| value | True=1 : Both sides
False=0 : One side
|
| void RevolveSolid::SetTypeByName | ( | String & | value | ) |
Specifies True or False as the value for the type of extrusion.
| value | BothSide : Both sides
OneSide : One side
|