Assembly Assembly.hxx cadex/ModelData/Assembly.hxx. More...
Public Member Functions | |
__init__ (self, *args) | |
AddInstance (self, *args) | |
Overload 1: Adds a new child element into the assembly. | |
RemoveInstance (self, theInstance) | |
Removes an instance from an assembly. | |
Instances (self) | |
Returns a vector of instances. | |
NumberOfInstances (self) | |
Returns number of instances in this assembly. | |
![]() | |
SetName (self, theName) | |
Sets a name. | |
Name (self) | |
Returns a name. | |
SetUuid (self, theUuid) | |
Uuid (self) | |
Returns an object uuid. | |
SetPMI (self, thePMI) | |
PMI (self) | |
Returns the object PMI. | |
Accept (self, theVisitor) | |
![]() | |
Id (self) | |
Return unique identifier of public object. | |
IsNull (self) | |
Static Public Member Functions | |
CompareType (theObject) | |
Returns true if theObject is an assembly. | |
Cast (theBase) | |
Assembly Assembly.hxx cadex/ModelData/Assembly.hxx.
Defines a group of model element.
Direct children of assembly are always instances which can refer to nested sub-assemblies or parts.
manufacturingtoolkit.CadExMTK.ModelData_Assembly.__init__ | ( | self, | |
* | args ) |
Reimplemented from manufacturingtoolkit.CadExMTK.ModelData_ModelElement.
manufacturingtoolkit.CadExMTK.ModelData_Assembly.AddInstance | ( | self, | |
* | args ) |
Overload 1: Adds a new child element into the assembly.
|
Overload 2: Adds a new part into the assembly. |
Overload 3: Adds a new part into the assembly. |
Overload 4: Adds a new assembly into the assembly. |
Overload 5: Adds a new assembly into the assembly.
|
static |
Reimplemented from manufacturingtoolkit.CadExMTK.ModelData_ModelElement.
|
static |
Returns true if theObject is an assembly.
Reimplemented from manufacturingtoolkit.CadExMTK.ModelData_ModelElement.