|
|
| Assembly (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
|
| Assembly (cadex.BaseObject.Initialized arg0) |
| |
|
| Assembly (cadex.UTF16String theName) |
| |
| cadex.ModelData.Instance | AddInstance (cadex.ModelData.ModelElement theElement) |
| | Assemblies may only have instances as direct children.
|
| |
| cadex.ModelData.Instance | AddInstance (cadex.ModelData.Part thePart, cadex.UTF16String theInstanceName) |
| | Adds a new part into the assembly.
|
| |
|
cadex.ModelData.Instance | AddInstance (cadex.ModelData.Part thePart) |
| |
| cadex.ModelData.Instance | AddInstance (cadex.ModelData.Part thePart, cadex.Geom.Transformation theTransformation, cadex.UTF16String theInstanceName) |
| | Adds a new part into the assembly.
|
| |
|
cadex.ModelData.Instance | AddInstance (cadex.ModelData.Part thePart, cadex.Geom.Transformation theTransformation) |
| |
| cadex.ModelData.Instance | AddInstance (cadex.ModelData.Assembly theAssembly, cadex.UTF16String theInstanceName) |
| | Adds a new assembly into the assembly.
|
| |
|
cadex.ModelData.Instance | AddInstance (cadex.ModelData.Assembly theAssembly) |
| |
| cadex.ModelData.Instance | AddInstance (cadex.ModelData.Assembly theAssembly, cadex.Geom.Transformation theTransformation, cadex.UTF16String theInstanceName) |
| | Adds a new assembly into the assembly.
|
| |
|
cadex.ModelData.Instance | AddInstance (cadex.ModelData.Assembly theAssembly, cadex.Geom.Transformation theTransformation) |
| |
| bool | RemoveInstance (cadex.ModelData.Instance theInstance) |
| | Returns a boolean value specifying whether the removal took place.
|
| |
| cadex.Collections.InstanceList | Instances () |
| | Returns a vector of instances.
|
| |
| uint | NumberOfInstances () |
| | Returns 0 if IsNull().
|
| |
|
| ModelElement (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
| void | SetName (cadex.UTF16String theName) |
| | Accepts a string as a unicode string.
|
| |
| cadex.UTF16String | Name () |
| | Returns empty string if the model element has no name (by default).
|
| |
| void | SetUuid (System.Guid theUuid) |
| | Sets an object uuid.
|
| |
| System.Guid | Uuid () |
| | Returns an object uuid.
|
| |
| void | SetPMI (cadex.PMI.Data thePMI) |
| | Sets the object PMI.
|
| |
| cadex.PMI.Data | PMI () |
| | Returns the object PMI.
|
| |
| void | Accept (cadex.ModelData.ModelElementVisitor theVisitor) |
| | The order of visiting depends on the type of this object:
|
| |
|
| BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
|
void | Dispose () |
| |
|
bool | IsNull () |
| |
| ulong | Id () |
| | Return unique identifier of public object.
|
| |
|
bool | IsEqual (cadex.BaseObject theObj) |
| |
|
override int | GetHashCode () |
| |
|
override bool | Equals (System.Object o) |
| |
Defines a group of model elements.
Direct children of an assembly are always instances which can refer to nested sub-assemblies or parts.
- Examples
- exploring/bom/Program.cs, exploring/bom/main.cxx, exploring/pmi/Program.cs, and exploring/pmi/main.cxx.
Assemblies may only have instances as direct children.
If theElement is not an instance (i.e. is a part or an assembly) then an interim instance is created which will refer to theElement.
If theElement is an instance, then it is returned; otherwise a new instance is created.
Parts and assemblies may be added to multiple assemblies to be shared. However they must be referred to by unique instances when adding to parent assemblies, i.e. each instance may not be added as a child into more than one assembly. Otherwise this will create an invalid model object with undefined behaviour. Adds a new child element into the assembly.