Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.ModelData_Assembly Class Reference

Assembly Assembly.hxx cadex/ModelData/Assembly.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.ModelData_Assembly:
manufacturingtoolkit.CadExMTK.ModelData_ModelElement manufacturingtoolkit.CadExMTK.BaseObject

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.
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.ModelData_ModelElement
 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)
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.BaseObject
 Id (self)
 Return unique identifier of public object.
 
 IsNull (self)
 
 IsEqual (self, theObj)
 
 __hash__ (self)
 
 __eq__ (self, other)
 

Static Public Member Functions

 CompareType (theObject)
 Returns true if theObject is an assembly.
 
 Cast (theBase)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.ModelData_Assembly.__init__ ( self,
* args )

Member Function Documentation

◆ AddInstance()

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.

◆ Cast()

manufacturingtoolkit.CadExMTK.ModelData_Assembly.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.ModelData_Assembly.CompareType ( theObject)
static

Returns true if theObject is an assembly.

Reimplemented from manufacturingtoolkit.CadExMTK.ModelData_ModelElement.


The documentation for this class was generated from the following file:
  • CadExMTK.py