AssemblyImprint Class
The commands in the AssemblyImprint 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... | |
| 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... | |
| String | GetName () |
| Returns a name. More... | |
| virtual Variant | GetProperty (String &name) |
| Returns the value of the property with the specified name. More... | |
| String | GetScriptTypeName () |
| Returns the name of the object type as a string. More... | |
| StringList | GetTargetList () |
| Returns a list of solid IDs, shell IDs, or beam IDs to imprint. More... | |
| double | GetTolerance () |
| Returns the tolerance. More... | |
| bool | GetUseDefaultTol () |
| Returns whether or not to use the default tolerance. More... | |
| virtual bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | NumItems () |
| Returns the number of items. 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 | SetTargetList (StringList &value) |
| Specifies a list of solid IDs, shell IDs, or beam IDs to imprint. More... | |
| void | SetTolerance (double value) |
| Specifies Tolerance. More... | |
| void | SetUseDefaultTol (bool value) |
| Specifies whether or not the default tolerance is used. More... | |
AssemblyImprint Class
The commands in the AssemblyImprint class are described below.
.
The AssemblyImprint 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) |
|
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 |
|
inherited |
Returns a name.
|
virtualinherited |
Returns the value of the property with the specified name.
| name | Property name |
|
inherited |
Returns the name of the object type as a string.
| StringList AssemblyImprint::GetTargetList | ( | ) |
Returns a list of solid IDs, shell IDs, or beam IDs to imprint.
| double AssemblyImprint::GetTolerance | ( | ) |
Returns the tolerance.
| bool AssemblyImprint::GetUseDefaultTol | ( | ) |
Returns whether or not to use the default tolerance.
|
virtualinherited |
Returns True if an object is valid.
Reimplemented in Sketch, Part, SketchItem, and MeshPart.
|
inherited |
Returns the number of items.
|
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 AssemblyImprint::SetTargetList | ( | StringList & | value | ) |
Specifies a list of solid IDs, shell IDs, or beam IDs to imprint.
| value | List of solid IDs, shell IDs, or beam IDs |
For more information about the commands of string array type, see "Example of the String Array Type."
| void AssemblyImprint::SetTolerance | ( | double | value | ) |
Specifies Tolerance.
| value | Tolerance |
| void AssemblyImprint::SetUseDefaultTol | ( | bool | value | ) |
Specifies whether or not the default tolerance is used.
| value | True=on : Use the default tolerance
False=off : Do not use the default tolerance
|