Archicad 29 C++ API
Loading...
Searching...
No Matches
IFCAPI::ObjectAccessor Class Referencefinal

To handle IFC objects, identifications and types. More...

#include <IFCObjectAccessor.hpp>

Inheritance diagram for IFCAPI::ObjectAccessor:
ACAPI::Object

Public Member Functions

ACAPI::Result< ObjectIDCreateIfcProjectObjectID () const
 Create ObjectID for IfcProject.
 
ACAPI::Result< ObjectIDCreateIfcSiteObjectID () const
 Create ObjectID for IfcSite.
 
ACAPI::Result< ObjectIDCreateIfcBuildingObjectID () const
 Create ObjectID for IfcBuilding.
 
ACAPI::Result< ObjectIDCreateIfcBuildingStoreyObjectID (short floorNumber) const
 Create ObjectID based on Archicad story.
 
ACAPI::Result< ObjectIDCreateElementObjectID (const API_Elem_Head &elementHead) const
 Create ObjectID based on Archicad element.
 
ACAPI::Result< IfcGloballyUniqueIdGetGlobalId (const IFCAPI::ObjectID &objectID) const
 Get IFC Identifier for an IFC entity.
 
ACAPI::Result< IfcGloballyUniqueIdGetExternalGlobalId (const IFCAPI::ObjectID &objectID) const
 Get external IFC Identifier for an IFC entity.
 
ACAPI::Result< std::unordered_set< IFCAPI::ObjectID > > FindElementsByGlobalId (const IfcGloballyUniqueId &globalId) const
 Find elements having a certain IFC identifier.
 
ACAPI::Result< API_GuidGetAPIElementID (const IFCAPI::ObjectID &objectID) const
 Get Archicad element guid from an IFC ObjectID.
 
ACAPI::Result< short > GetStoryIndex (const IFCAPI::ObjectID &objectID) const
 Get Archicad story index from an IFC ObjectID.
 
ACAPI::Result< IFCTypeGetIFCType (const IFCAPI::ObjectID &objectID) const
 Get IFC type of an IFC entity.
 
ACAPI::Result< IFCTypeGetTypeObjectIFCType (const IFCAPI::ObjectID &objectID) const
 Get IFC type of the IfcTypeObject of an IFC entity.
 
ACAPI::Result< IFCAPI::AssignmentsGetAssignments () const
 Get the persistent Assignment Tree.
 
- Public Member Functions inherited from ACAPI::Object
 Object (std::shared_ptr< Impl::ObjectImpl > impl)
 Constructs a new object.
 
const API_TokenGetToken () const
 Get the token for this object.
 

Friends

ObjectAccessor GetObjectAccessor ()
 Get the ObjectAccessor for handle IFC objects, identifications and types.
 

Additional Inherited Members

- Protected Member Functions inherited from ACAPI::Object
 ~Object ()
 Default destructor.
 
- Protected Attributes inherited from ACAPI::Object
std::shared_ptr< Impl::ObjectImplmImpl
 Impl object given by constructor.
 

Detailed Description

To handle IFC objects, identifications and types.

Since
Archicad 28

Friends And Related Symbol Documentation

◆ GetObjectAccessor

ObjectAccessor GetObjectAccessor ( )
friend

Get the ObjectAccessor for handle IFC objects, identifications and types.

Since
Archicad 28
Returns
The ObjectAccessor