CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
FxBIM.h File Reference
#include <OdaCommon.h>
#include <OdaDefs.h>
#include <DbDatabase.h>
#include <DbBlockReference.h>
#include "FxBIMEntityReference.h"
#include <memory>
#include <map>
#include <vector>
#include <functional>
#include <RxObject.h>
#include <DbObjectId.h>

Go to the source code of this file.

Classes

struct  Conversion
 
struct  Conversion::Data
 
class  CFxBIMObject
 
class  CFxBIMIterator
 
class  CFxBIMIteratorRA
 
class  CFxBIMDbIterator
 
class  CFxBIMDbIteratorRA
 
class  FxBIM::Standard
 

Namespaces

namespace  FxBIM
 

Macros

#define FXBIM_API
 
#define FXBIM_COMMON_CODE_API
 

Typedefs

typedef OdSmartPtr< CFxBIMDatabaseReferenceCFxBIMDatabaseReferencePtr
 
typedef std::shared_ptr< CFxBIMObjectCFxBIMObjectPtr
 
typedef std::shared_ptr< CFxBIMIteratorCFxBIMIteratorPtr
 
typedef std::shared_ptr< CFxBIMIteratorRACFxBIMIteratorRAPtr
 
typedef std::shared_ptr< CFxBIMDbIteratorCFxBIMDbIteratorPtr
 
typedef std::shared_ptr< CFxBIMDbIteratorRACFxBIMDbIteratorRAPtr
 

Enumerations

enum class  Error {
  eOk = 0 , eFail , eAbort , eInvalidParameter ,
  eNullFamSymbol , eGeomIsNotNode , eGeomIsNotGElement , eNotImplemented ,
  eDegenerateTopology , eDegenerateGeometry , eNullBmDatabase , eNullBmObject ,
  eNullBmObjectId , eNullDbObjectId , eNotFound , eNotThatKindOfClass ,
  eWrongIFCFormat , eWrongRVTFormat , eCVTInvalidParameter , eCVTInvalidConversionType ,
  eCVTInvalidSource , eCVTInvalidDestinationFolder , eCVTInvalidDestinationExists , eCVTViewUnset ,
  eCVTUnsupportedPlatform , eWrongTRBGeometryDefinition , eUnsupportedTRBGeometryDefinition
}
 
enum class  fileType { eUnknown = 0 , eRevit = 1 , eIFC = 2 , eTRB = 3 }
 
enum  FxBIM::Version {
  FxBIM::k2019 = 1 , FxBIM::k2020 = 2 , FxBIM::k2021 = 3 , FxBIM::k2022 = 4 ,
  FxBIM::k2023 = 5 , FxBIM::kSP0 = 0 , FxBIM::kSP1 = 1 , FxBIM::kSP2 = 2 ,
  FxBIM::kSP3 = 3
}
 
enum class  BimStandards { eUnset = -2 , eUnknown = -1 , eISO = 0 , eANSI = 1 }
 
enum class  BimUnitsLength {
  eUndefined = 0 , eFeet = 1 , eInch = 2 , eM = 3 ,
  eDM = 4 , eCM = 5 , eMM = 6
}
 
enum class  BimUnitsStyle { eAuto = 0 , eSuperscript = 1 , ePrefix = 2 }
 
enum class  BimLabelUnitsPolicy { eAuto = 0 , eAlways = 1 , eNever = 2 }
 
enum class  BimUnitsArea {
  eUndefined = 0 , eSqFeet = 1 , eSqInches = 2 , eSqMeters = 3 ,
  eSqDM = 4 , eSqCM = 5 , eSqMM = 6
}
 
enum class  BimUnitsVolume {
  eUndefined = 0 , eCubicFeet = 1 , eCubicInches = 2 , eCubicMeters = 3 ,
  eCubicDecimeters = 4 , eCubicCentimeters = 5 , eCubicMilimeters = 6
}
 
enum class  EBIMView { e3DView = 0 , e2DView = 1 }
 
enum class  FxBIM::EFileType { FxBIM::eModelDrawing = 0x0 , FxBIM::eFlatshotDrawing = 0x1 }
 

Functions

FXBIM_COMMON_CODE_API OdString FxBIM::ToString (const Error &e)
 
FXBIM_API OdInt64 FxBIM::bimVersion (OdInt16 major, OdInt16 minor, OdInt16 revision)
 
FXBIM_API OdInt64 FxBIM::currentVersion ()
 
template<typename T >
std::shared_ptr< T > FxBIM::cast (CFxBIMObjectPtr pBase)
 
template<typename T >
OdSmartPtr< T > FxBIM::cast (OdDbObjectId id, OdDb::OpenMode mode=OdDb::kForRead, bool openErased=false)
 
FXBIM_API OdString FxBIM::BIMSTANDARD (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMSTANDARD (OdDbDatabase *pDb, const OdString &value)
 
FXBIM_API double FxBIM::BIMHPSCALE (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMHPSCALE (OdDbDatabase *pDb, const double &value)
 
FXBIM_COMMON_CODE_API int FxBIM::BIMUNITSLENGTH (const OdDbDatabase *pDb)
 
FXBIM_COMMON_CODE_API void FxBIM::SetBIMUNITSLENGTH (OdDbDatabase *pDb, const int &value)
 
FXBIM_API int FxBIM::BIMUNITSSTYLE (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMUNITSSTYLE (OdDbDatabase *pDb, const int &value)
 
FXBIM_API OdString FxBIM::BIMVPSCALE (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMVPSCALE (OdDbDatabase *pDb, const OdString &value)
 
FXBIM_API OdString FxBIM::BIMCURRENTDIMSTYLE (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMCURRENTDIMSTYLE (OdDbDatabase *pDb, const OdString &value)
 
FXBIM_API OdString FxBIM::BIMPROJECTPATH (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMPROJECTPATH (OdDbDatabase *pDb, const OdString &value)
 
FXBIM_API OdString FxBIM::BIMCALLOUTSFILE (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMCALLOUTSFILE (OdDbDatabase *pDb, const OdString &value)
 
FXBIM_API OdString FxBIM::BIMCALLOUTBLOCKPLAN (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMCALLOUTBLOCKPLAN (OdDbDatabase *pDb, const OdString &value)
 
FXBIM_API OdString FxBIM::BIMCALLOUTBLOCKSECTION (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMCALLOUTBLOCKSECTION (OdDbDatabase *pDb, const OdString &value)
 
FXBIM_API OdString FxBIM::BIMCALLOUTBLOCKSECTIONALT (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMCALLOUTBLOCKSECTIONALT (OdDbDatabase *pDb, const OdString &value)
 
FXBIM_API OdString FxBIM::BIMCALLOUTBLOCKELEVATION (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMCALLOUTBLOCKELEVATION (OdDbDatabase *pDb, const OdString &value)
 
FXBIM_API OdString FxBIM::BIMVIEWTITLEBLOCK (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMVIEWTITLEBLOCK (OdDbDatabase *pDb, const OdString &value)
 
FXBIM_API OdString FxBIM::BIMAUTOFILTER (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMAUTOFILTER (OdDbDatabase *pDb, const OdString &value)
 
FXBIM_API OdString FxBIM::BIMAUTOTEMPLATE (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMAUTOTEMPLATE (OdDbDatabase *pDb, const OdString &value)
 
FXBIM_API bool FxBIM::BIMCALLOUTSONOFF (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMCALLOUTSONOFF (OdDbDatabase *pDb, const bool &value)
 
FXBIM_API bool FxBIM::BIMCLIPPINGBOXONOFF (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMCLIPPINGBOXONOFF (OdDbDatabase *pDb, const bool &value)
 
FXBIM_API Error FxBIM::resolvePath (const OdDbDatabase *pDb, OdString &path, EFileType eFileType)
 
FXBIM_API OdString FxBIM::GetAbsoluteFilePath (const OdString &sPath, OdDbDatabase *pCurrentDb)
 
FXBIM_API Error FxBIM::getRotation (OdDbBlockReferencePtr pBlkRef, double &angle)
 
FXBIM_API Error FxBIM::setRotation (OdDbBlockReferencePtr pBlkRef, double angle)
 
FXBIM_API double FxBIM::getImportScaleLabel (OdDbDatabasePtr database)
 

Variables

const OdString FxBIM::kBIMModuleName = OD_T( "FxBIM" )
 
constexpr OdInt16 FxBIM::kCurrenVersionMajor = k2023
 
constexpr OdInt16 FxBIM::kCurrenVersionMinor = kSP0
 
constexpr OdInt16 FxBIM::kCurrenVersionRevision = 4
 

Macro Definition Documentation

◆ FXBIM_API

#define FXBIM_API

Definition at line 20 of file FxBIM.h.

◆ FXBIM_COMMON_CODE_API

#define FXBIM_COMMON_CODE_API

Definition at line 21 of file FxBIM.h.

Typedef Documentation

◆ CFxBIMDatabaseReferencePtr

Definition at line 116 of file FxBIM.h.

◆ CFxBIMDbIteratorPtr

typedef std::shared_ptr< CFxBIMDbIterator > CFxBIMDbIteratorPtr

Definition at line 233 of file FxBIM.h.

◆ CFxBIMDbIteratorRAPtr

typedef std::shared_ptr< CFxBIMDbIteratorRA > CFxBIMDbIteratorRAPtr

Definition at line 235 of file FxBIM.h.

◆ CFxBIMIteratorPtr

typedef std::shared_ptr< CFxBIMIterator > CFxBIMIteratorPtr

Definition at line 229 of file FxBIM.h.

◆ CFxBIMIteratorRAPtr

typedef std::shared_ptr< CFxBIMIteratorRA > CFxBIMIteratorRAPtr

Definition at line 231 of file FxBIM.h.

◆ CFxBIMObjectPtr

typedef std::shared_ptr< CFxBIMObject > CFxBIMObjectPtr

Definition at line 200 of file FxBIM.h.

Enumeration Type Documentation

◆ BimLabelUnitsPolicy

enum class BimLabelUnitsPolicy
strong
Enumerator
eAuto 
eAlways 
eNever 

Definition at line 307 of file FxBIM.h.

◆ BimStandards

enum class BimStandards
strong
Enumerator
eUnset 
eUnknown 
eISO 
eANSI 

Definition at line 281 of file FxBIM.h.

◆ BimUnitsArea

enum class BimUnitsArea
strong
Enumerator
eUndefined 
eSqFeet 
eSqInches 
eSqMeters 
eSqDM 
eSqCM 
eSqMM 

Definition at line 314 of file FxBIM.h.

◆ BimUnitsLength

enum class BimUnitsLength
strong
Enumerator
eUndefined 
eFeet 
eInch 
eM 
eDM 
eCM 
eMM 

Definition at line 289 of file FxBIM.h.

◆ BimUnitsStyle

enum class BimUnitsStyle
strong
Enumerator
eAuto 
eSuperscript 
ePrefix 

Definition at line 300 of file FxBIM.h.

◆ BimUnitsVolume

enum class BimUnitsVolume
strong
Enumerator
eUndefined 
eCubicFeet 
eCubicInches 
eCubicMeters 
eCubicDecimeters 
eCubicCentimeters 
eCubicMilimeters 

Definition at line 325 of file FxBIM.h.

◆ EBIMView

enum class EBIMView
strong
Enumerator
e3DView 
e2DView 

Definition at line 337 of file FxBIM.h.

◆ Error

enum class Error
strong
Enumerator
eOk 
eFail 
eAbort 
eInvalidParameter 
eNullFamSymbol 
eGeomIsNotNode 
eGeomIsNotGElement 
eNotImplemented 
eDegenerateTopology 
eDegenerateGeometry 
eNullBmDatabase 
eNullBmObject 
eNullBmObjectId 
eNullDbObjectId 
eNotFound 
eNotThatKindOfClass 
eWrongIFCFormat 
eWrongRVTFormat 
eCVTInvalidParameter 
eCVTInvalidConversionType 
eCVTInvalidSource 
eCVTInvalidDestinationFolder 
eCVTInvalidDestinationExists 
eCVTViewUnset 
eCVTUnsupportedPlatform 
eWrongTRBGeometryDefinition 
eUnsupportedTRBGeometryDefinition 

Definition at line 65 of file FxBIM.h.

◆ fileType

enum class fileType
strong
Enumerator
eUnknown 
eRevit 
eIFC 
eTRB 

Definition at line 101 of file FxBIM.h.