ExtrudeSolid Class
The commands in the ExtrudeSolid 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... | |
| int | GetDivisions () |
| Returns number of divisions. More... | |
| double | GetHeight () |
| Returns the height to extrude. 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... | |
| double | GetRatio () |
| Returns division ratio. More... | |
| bool | GetReverse () |
| Returns True as a value when a direction is reversed. More... | |
| bool | GetReverseRatio () |
| Returns True when the direction of the division ratio applied is reverse. More... | |
| String | GetScriptTypeName () |
| Returns the name of the object type as a string. More... | |
| Sketch * | GetSketch () |
| Returns the sketch used to extrude a solid. More... | |
| double | GetSkewAngle () |
| int | GetSkewAxisType () |
| String | GetSkewAxisTypeAsString () |
| int | GetType () |
| Returns the type of extrusion as a number. More... | |
| String | GetTypeAsString () |
| Returns the type of extrusion as a string. More... | |
| bool | GetUseSkew () |
| virtual bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | NumItems () |
| Returns the number of items. More... | |
| void | SetData (double height, bool reverse, bool merge) |
| Specifies the height, whether or not to reverse the direction and whether or not to merge with an existing geometry of extrude. More... | |
| void | SetDivisions (int value) |
| Specifies number of divisions. More... | |
| void | SetHeight (double value) |
| Specifies the height to 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... | |
| void | SetPointOnSkewAxis (double x, double y, double z) |
| 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 | SetRatio (double ratio) |
| Specifies division ratio. More... | |
| void | SetReverse (bool value) |
| Specifies whether or not to reverse extrusion direction. More... | |
| void | SetReverseRatio (bool value) |
| Specifies whether or not to reverse direction of the division ratio applied. More... | |
| void | SetSkewAngle (double value) |
| void | SetSkewAxisType (int value) |
| void | SetSkewAxisTypeByName (String &value) |
| void | SetType (int value) |
| Specifies the type of extrusion as a number. More... | |
| void | SetTypeByName (String &value) |
| Specifies the type of extrusion as a string. More... | |
| void | SetUseSkew (bool value) |
| Specifies whether or not to set the skew. More... | |
ExtrudeSolid Class
The commands in the ExtrudeSolid class are described below.
.
The ExtrudeSolid 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) |
| int ExtrudeSolid::GetDivisions | ( | ) |
Returns number of divisions.
| double ExtrudeSolid::GetHeight | ( | ) |
Returns the height to extrude.
|
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 ExtrudeSolid::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 |
| double ExtrudeSolid::GetRatio | ( | ) |
Returns division ratio.
| bool ExtrudeSolid::GetReverse | ( | ) |
Returns True as a value when a direction is reversed.
| bool ExtrudeSolid::GetReverseRatio | ( | ) |
Returns True when the direction of the division ratio applied is reverse.
|
inherited |
Returns the name of the object type as a string.
| Sketch * ExtrudeSolid::GetSketch | ( | ) |
Returns the sketch used to extrude a solid.
| double ExtrudeSolid::GetSkewAngle | ( | ) |
| int ExtrudeSolid::GetSkewAxisType | ( | ) |
| String ExtrudeSolid::GetSkewAxisTypeAsString | ( | ) |
| int ExtrudeSolid::GetType | ( | ) |
Returns the type of extrusion as a number.
| String ExtrudeSolid::GetTypeAsString | ( | ) |
Returns the type of extrusion as a string.
| bool ExtrudeSolid::GetUseSkew | ( | ) |
|
virtualinherited |
Returns True if an object is valid.
Reimplemented in Sketch, Part, SketchItem, and MeshPart.
|
inherited |
Returns the number of items.
| void ExtrudeSolid::SetData | ( | double | height, |
| bool | reverse, | ||
| bool | merge | ||
| ) |
Specifies the height, whether or not to reverse the direction and whether or not to merge with an existing geometry of extrude.
| height | Height |
| reverse | True=1 : reverse
False=0 : Do not reverse
|
| merge | True=on : Merge
False=off : Do not merge
|
| void ExtrudeSolid::SetDivisions | ( | int | value | ) |
Specifies number of divisions.
| value | Divisions |
| void ExtrudeSolid::SetHeight | ( | double | value | ) |
Specifies the height to extrude.
| value | Height of a piece from a part |
| void ExtrudeSolid::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 |
| void ExtrudeSolid::SetPointOnSkewAxis | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
| x | X-coordinate for point on rotation axis of skew |
| y | Y-coordinate for point on rotation axis of skew |
| z | Z-coordinate for point on rotation axis of skew |
|
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 ExtrudeSolid::SetRatio | ( | double | ratio | ) |
Specifies division ratio.
| ratio | Division ratio |
| void ExtrudeSolid::SetReverse | ( | bool | value | ) |
Specifies whether or not to reverse extrusion direction.
| value | True=on : Reverse
False=off : Do not reverse
|
| void ExtrudeSolid::SetReverseRatio | ( | bool | value | ) |
Specifies whether or not to reverse direction of the division ratio applied.
| value | True=on : Reverse
False=off : Do not reverse
|
| void ExtrudeSolid::SetSkewAngle | ( | double | value | ) |
| value | Rotation angle of a skew |
| void ExtrudeSolid::SetSkewAxisType | ( | int | value | ) |
| value | 0 = Selects point
1 = Specifies coordinates
|
| void ExtrudeSolid::SetSkewAxisTypeByName | ( | String & | value | ) |
| value | SelectVertex = Selects point
SetCoordinate = Specifies coordinates
|
| void ExtrudeSolid::SetType | ( | int | value | ) |
Specifies the type of extrusion as a number.
| value | True=1 : Both sides
False=0 : One side
|
| void ExtrudeSolid::SetTypeByName | ( | String & | value | ) |
Specifies the type of extrusion as a string.
| value | BothSides
OneSide
|
| void ExtrudeSolid::SetUseSkew | ( | bool | value | ) |
Specifies whether or not to set the skew.
| value | 0/True=on : Skew
1/False=off : Do not skew
|