Entity Reference
Creates and accesses references to other PRC entities.
2.0
Entity type is kA3DTypeMiscEntityReference.
An A3DMiscEntityReference references an entity containing structure data, representation items, topology data, markup data or scene display data. All of these entities can be referenced from other entities. For example, the A3DAsmProductOccurrence entity (Product Occurrence) can include an A3DMiscEntityReference entity that references another product occurrence. In another example, an A3DAsmFilter entity (Filter Module) can include an entity filter for which multiple A3DMiscEntityReference entities specify the entities to be inclusively or exclusively filtered.
The A3DMiscEntityReference can supply modifiers that affect the referenced entity nominal definition. All entity references can include a coordinate system, which is applied to the referenced item. Topology entity references can also include global index items, such as color and texture.
- Create an
A3DMiscEntityReferenceDatastructure that references the non-topological entity. - Set the coordinate system transformation in the
A3DMiscEntityReferenceDatastructure as needed. - Create an
A3DMiscEntityReferencethat references theA3DMiscEntityReferenceDatastructure.
To create references for non-topological entities listed in Referenceable Non-Topological Entities, perform these steps:
- Create an
A3DMiscReferenceOnTopologyDatastructure that references the topological entity. - Set global index items in the
A3DMiscReferenceOnTopologyDatastructure as needed. - Create an
A3DMiscReferenceOnTopologyentity, providing theA3DMiscReferenceOnTopologyDatastructure. - Create an
A3DMiscEntityReferenceDatastructure that references theA3DMiscReferenceOnTopologyentity. - Set the coordinate system transformation in the
A3DMiscEntityReferenceDatastructure as needed. - Create an
A3DMiscEntityReferencethat references theA3DMiscEntityReferenceDatastructure.
To create references for topological entities listed in Referenceable Topological Entities, perform these steps:
See the referenceable types in the modules Referenceable Non-Topological Entities and Referenceable Topological Entities.
Returns
A3D_SUCCESSon success, or an error code on failure
Topics
- Reference on Topology/Tessellation
- Referenceable Non-Topological Entities
- Referenceable Topological Entities
- Reference on coordinate system subcomponent
Structures
Functions