CFx SDK Documentation 2024 SP0
|
Functions | |
bool IFCCORE_EXPORT | assignGlobalId (OdIfcEntity *pInst) |
OdDAIObjectIds IFCCORE_EXPORT | getDefaultRepresentationContextsSelection (const OdIfcFile *pIfcFile, bool onlyBody=true) |
OdDAIObjectIds IFCCORE_EXPORT | getAllRepresentationContexts (const OdIfcFile *pIfcFile) |
Contains declarations related to working with IFC files content.
bool IFCCORE_EXPORT OdIfc::Utils::assignGlobalId | ( | OdIfcEntity * | pInst | ) |
Assigns a generated global identifier to the "GlobalId" attribute of an entity derived from an IfcRoot object.
pInst | [in] A raw pointer to the IFC entity instance. |
OdDAIObjectIds IFCCORE_EXPORT OdIfc::Utils::getAllRepresentationContexts | ( | const OdIfcFile * | pIfcFile | ) |
Retrieves identifiers (represented with the <link OdDAIObjectIds, OdDAIObjectIds> object) of all IfcGeometricRepresentationContext instances in a model of the specified IFC file.
pIfcFile | [in] A raw pointer to an <link OdIfcFile, OdIfcFile> object that keeps the IFC model. |
OdDAIObjectIds IFCCORE_EXPORT OdIfc::Utils::getDefaultRepresentationContextsSelection | ( | const OdIfcFile * | pIfcFile, |
bool | onlyBody = true |
||
) |
Retrieves identifiers (represented with the <link OdDAIObjectIds, OdDAIObjectIds> object) of default IfcGeometricRepresentationContext instances, which are necessary to get the geometrical representation of a model of the specified IFC file.
pIfcFile | [in] A raw pointer to an <link OdIfcFile, OdIfcFile> object that keeps the IFC model. |
onlyBody | [in] A flag that determines that only sub-contexts with the "Body" identifiers are selected (if it is equal to true). |