ExtrudeImprint Class
The commands in the ExtrudeImprint class are described below.
.
More...
Inherits ItemObject.
ExtrudeImprint Class
The commands in the ExtrudeImprint class are described below.
.
The ExtrudeImprint class includes the commands for the following operation.
- Commands related to set extrude imprint
For more information about the properties for this class, see here .
| void ItemObject::AddPropertyByReference |
( |
String & |
name, |
|
|
ReferenceObject * |
value |
|
) |
| |
|
virtualinherited |
| double ExtrudeImprint::GetHeight |
( |
| ) |
|
Returns the height to extrude imprint.
- Returns
- Height of a piece to be imprinted from a part
| 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
| bool ExtrudeImprint::GetReverse |
( |
| ) |
|
Returns True as a value when a direction is reversed.
- Returns
- Returns True when a direction is reversed.
| String ItemObject::GetScriptTypeName |
( |
| ) |
|
|
inherited |
Returns the name of the object type as a string.
- Returns
- Type name of object
| Sketch * ExtrudeImprint::GetSketch |
( |
| ) |
|
Returns a sketch used to extrude imprint.
- Returns
- Sketch object
| int ExtrudeImprint::GetType |
( |
| ) |
|
Returns the value for the type of extrude imprint as a number.
- Returns
True=1 : Both sides
False=0 : One side
| String ExtrudeImprint::GetTypeAsString |
( |
| ) |
|
Returns the value for the type of extrude imprint as a string.
- Returns
BothSides : Both sides
OneSide : One side
| bool ItemObject::IsValid |
( |
| ) |
|
|
virtualinherited |
| int ItemObject::NumItems |
( |
| ) |
|
|
inherited |
Returns the number of items.
- Returns
- Item count
| void ExtrudeImprint::SetData |
( |
double |
height, |
|
|
bool |
reverse |
|
) |
| |
Specifies the height and whether or not to reverse the direction of extrude imprint.
- Parameters
-
| height | Height |
| reverse | True=1 : reverse
False=0 : Do not reverse
|
- Deprecated:
- Please use SetProperty().
| void ExtrudeImprint::SetHeight |
( |
double |
value | ) |
|
Specifies the height of extrude imprint.
- Parameters
-
| value | Height of a piece to be imprinted from a part |
| void ItemObject::SetName |
( |
String & |
name | ) |
|
|
inherited |
Specifies a name.
- Parameters
-
| void ItemObject::SetProperty |
( |
String & |
name, |
|
|
Variant & |
value |
|
) |
| |
|
virtualinherited |
Specifies a value of property.
- Parameters
-
| name | Property name |
| value | Value of properties |
Reimplemented in SketchItem.
| void ItemObject::SetPropertyByReference |
( |
String & |
name, |
|
|
ReferenceObject * |
value |
|
) |
| |
|
virtualinherited |
| void ExtrudeImprint::SetReverse |
( |
bool |
value | ) |
|
Specifies whether or not to reverse the direction.
- Parameters
-
| value | True=on : Reverse
False=off : Do not reverse
|
| void ExtrudeImprint::SetType |
( |
int |
value | ) |
|
Specifies the value for the type of extrude imprint as a number.
- Parameters
-
| value | True=1 : Both sides
False=0 : One side
|
| void ExtrudeImprint::SetTypeByName |
( |
String & |
value | ) |
|
Specifies the value for the type of extrude imprint as a string.
- Parameters
-
| value | BothSides : Both sides
OneSide : One side
|