CFx SDK Documentation  2020SP3
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
FxBIM.h File Reference
#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
 

Namespaces

 FxBIM
 
 FxBIM::Units
 

Macros

#define FXBIM_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  Error {
  Error::eOk = 0, Error::eFail, Error::eAbort, Error::eInvalidParameter,
  Error::eNullFamSymbol, Error::eGeomIsNotNode, Error::eGeomIsNotGElement, Error::eNotImplemented,
  Error::eDegenerateTopology, Error::eDegenerateGeometry, Error::eNullBmDatabase, Error::eNullBmObject,
  Error::eNullBmObjectId, Error::eNullDbObjectId, Error::eNotFound, Error::eNotThatKindOfClass,
  Error::eWrongIFCFormat, Error::eWrongRVTFormat, Error::eCVTInvalidParameter, Error::eCVTInvalidConversionType,
  Error::eCVTInvalidSource, Error::eCVTInvalidDestinationFolder, Error::eCVTInvalidDestinationExists, Error::eCVTViewUnset
}
 
enum  FileType { FileType::eUnknown = 0, FileType::eRevit = 1, FileType::eIFC = 2 }
 
enum  FxBIM::Version {
  FxBIM::k2019 = 1, FxBIM::k2020 = 2, FxBIM::k2021 = 3, FxBIM::kSP0 = 0,
  FxBIM::kSP1 = 1, FxBIM::kSP2 = 2, FxBIM::kSP3 = 3
}
 
enum  {
  FxBIM::Units::eLengthUndefined = 0, FxBIM::Units::eLengthFeet = 1, FxBIM::Units::eLengthInch = 2, FxBIM::Units::eLengthM = 3,
  FxBIM::Units::eLengthDM = 4, FxBIM::Units::eLengthCM = 5, FxBIM::Units::eLengthMM = 6
}
 

Functions

FXBIM_API OdInt64 FxBIM::bimVersion (OdInt16 major, OdInt16 minor, OdInt16 revision)
 
FXBIM_API OdInt64 FxBIM::currentVersion ()
 
FXBIM_API OdString convert (const QString &qstr)
 
FXBIM_API QString convert (const OdString &odstr)
 
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)
 
FXBIM_API double FxBIM::BIMHPSCALE (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMHPSCALE (OdDbDatabase *pDb, const double &value)
 
FXBIM_API double FxBIM::Units::Scale (int dst, int src)
 
FXBIM_API int FxBIM::BIMUNITSLENGTH (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMUNITSLENGTH (OdDbDatabase *pDb, const int &value)
 
FXBIM_API OdString FxBIM::BIMVPSCALE (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMVPSCALE (OdDbDatabase *pDb, const OdString &value)
 

Macro Definition Documentation

◆ FXBIM_API

#define FXBIM_API

Definition at line 4 of file FxBIM.h.

Typedef Documentation

◆ CFxBIMDatabaseReferencePtr

Definition at line 59 of file FxBIM.h.

◆ CFxBIMDbIteratorPtr

typedef std::shared_ptr< CFxBIMDbIterator > CFxBIMDbIteratorPtr

Definition at line 161 of file FxBIM.h.

◆ CFxBIMDbIteratorRAPtr

typedef std::shared_ptr< CFxBIMDbIteratorRA > CFxBIMDbIteratorRAPtr

Definition at line 163 of file FxBIM.h.

◆ CFxBIMIteratorPtr

typedef std::shared_ptr< CFxBIMIterator > CFxBIMIteratorPtr

Definition at line 157 of file FxBIM.h.

◆ CFxBIMIteratorRAPtr

typedef std::shared_ptr< CFxBIMIteratorRA > CFxBIMIteratorRAPtr

Definition at line 159 of file FxBIM.h.

◆ CFxBIMObjectPtr

typedef std::shared_ptr< CFxBIMObject > CFxBIMObjectPtr

Definition at line 128 of file FxBIM.h.

Enumeration Type Documentation

◆ Error

enum 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 

Definition at line 17 of file FxBIM.h.

◆ FileType

enum FileType
strong
Enumerator
eUnknown 
eRevit 
eIFC 

Definition at line 45 of file FxBIM.h.

Function Documentation

◆ convert() [1/2]

FXBIM_API QString convert ( const OdString odstr)

◆ convert() [2/2]

FXBIM_API OdString convert ( const QString &  qstr)