Base class for part, instance and assembly.
Creates an instance of ModelData_SceneGraphElement.
Appearance of the element.
Note: By convention assemblies may not have appearances.
If one is set using this function it can be ignored by other CAD Exchanger functions (e.g. export).
PMI table of the element.
Property table of the element.
Accepts an element visitor.
The order of visiting depends on the type of this object:
true
then visits the referred element. Then leaves the instance calling visitInstanceLeave().true
then visits all the assembly children. Then leaves the assembly calling visitAssemblyLeave().Parameters:
Param | Type | Description |
---|---|---|
theVisitor | ModelData_SceneGraphElementVisitor |
Adds a PMI table to the element.
If this object did not have PMI yet, then thePMI are just linked to this object. Otherwise, the elements of thePMI are appended to existing PMI table (see ModelData_PMITable#add()).
Parameters:
Param | Type | Description |
---|---|---|
thePMI | ModelData_PMITable |
Adds a property table to the element. If this object did not have properties yet, then theProperties are just linked to this object. Otherwise, the elements of theProperties are appended to existing property table (see ModelData_PropertyTable#add() method).
Parameters:
Param | Type | Description |
---|---|---|
theProperties | ModelData_PropertyTable | Properties to add. |