CFx SDK Documentation  2022 SP0
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
FxBIM.h File Reference
#include <QtCore/QString>
#include <OdaCommon.h>
#include <OdaDefs.h>
#include <sdk/FxBIMEntityReference.h>
#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 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
}
 
enum class  fileType { eUnknown = 0 , eRevit = 1 , 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, bool openErased=false)
 
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)
 
FXBIM_API OdString FxBIM::BIMCURRENTDIMSTYLE (const OdDbDatabase *pDb)
 
FXBIM_API void FxBIM::SetBIMCURRENTDIMSTYLE (OdDbDatabase *pDb, const OdString &value)
 

Macro Definition Documentation

◆ FXBIM_API

#define FXBIM_API

Definition at line 20 of file FxBIM.h.

Typedef Documentation

◆ CFxBIMDatabaseReferencePtr

Definition at line 85 of file FxBIM.h.

◆ CFxBIMDbIteratorPtr

typedef std::shared_ptr< CFxBIMDbIterator > CFxBIMDbIteratorPtr

Definition at line 186 of file FxBIM.h.

◆ CFxBIMDbIteratorRAPtr

typedef std::shared_ptr< CFxBIMDbIteratorRA > CFxBIMDbIteratorRAPtr

Definition at line 188 of file FxBIM.h.

◆ CFxBIMIteratorPtr

typedef std::shared_ptr< CFxBIMIterator > CFxBIMIteratorPtr

Definition at line 182 of file FxBIM.h.

◆ CFxBIMIteratorRAPtr

typedef std::shared_ptr< CFxBIMIteratorRA > CFxBIMIteratorRAPtr

Definition at line 184 of file FxBIM.h.

◆ CFxBIMObjectPtr

typedef std::shared_ptr< CFxBIMObject > CFxBIMObjectPtr

Definition at line 153 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 43 of file FxBIM.h.

◆ fileType

enum fileType
strong
Enumerator
eUnknown 
eRevit 
eIFC 

Definition at line 71 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)