CFx SDK Documentation  2023 SP0
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
FxBIM.h File Reference
#include <QtCore/QString>
#include <OdaCommon.h>
#include <OdaDefs.h>
#include <DbDatabase.h>
#include <sdk/FxBIMEntityReference.h>
#include "../../Kernel/DDKERNEL/FxThreadUtils.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
 
class  FxBIM::Standard
 
class  FxBIMThreadUtils::CFxBIMTaskLoadDbRef
 
class  FxBIMThreadUtils::CFxBIMTaskUnloadDb
 

Namespaces

 FxBIM
 
 FxBIM::Units
 
 FxBIMThreadUtils
 

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 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  FxBIM::EFileType { FxBIM::eModelDrawing = 0x0 , FxBIM::eFlatshotDrawing = 0x1 }
 

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 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_API double FxBIM::Units::Scale (BimUnitsLength dst, BimUnitsLength 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)
 
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 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 QString FxBIM::GetAbsoluteFilePath (const QString &sPath, OdDbDatabase *pCurrentDb)
 
void FXBIM_API FxBIMThreadUtils::WaitFinishLoading (const QString &strTag)
 

Variables

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

Macro Definition Documentation

◆ FXBIM_API

#define FXBIM_API

Definition at line 20 of file FxBIM.h.

Typedef Documentation

◆ CFxBIMDatabaseReferencePtr

Definition at line 91 of file FxBIM.h.

◆ CFxBIMDbIteratorPtr

typedef std::shared_ptr< CFxBIMDbIterator > CFxBIMDbIteratorPtr

Definition at line 196 of file FxBIM.h.

◆ CFxBIMDbIteratorRAPtr

typedef std::shared_ptr< CFxBIMDbIteratorRA > CFxBIMDbIteratorRAPtr

Definition at line 198 of file FxBIM.h.

◆ CFxBIMIteratorPtr

typedef std::shared_ptr< CFxBIMIterator > CFxBIMIteratorPtr

Definition at line 192 of file FxBIM.h.

◆ CFxBIMIteratorRAPtr

typedef std::shared_ptr< CFxBIMIteratorRA > CFxBIMIteratorRAPtr

Definition at line 194 of file FxBIM.h.

◆ CFxBIMObjectPtr

typedef std::shared_ptr< CFxBIMObject > CFxBIMObjectPtr

Definition at line 163 of file FxBIM.h.

Enumeration Type Documentation

◆ BimStandards

enum BimStandards
strong
Enumerator
eUnset 
eUnknown 
eISO 
eANSI 

Definition at line 244 of file FxBIM.h.

◆ BimUnitsLength

enum BimUnitsLength
strong
Enumerator
eUndefined 
eFeet 
eInch 
eM 
eDM 
eCM 
eMM 

Definition at line 252 of file FxBIM.h.

◆ 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 49 of file FxBIM.h.

◆ fileType

enum fileType
strong
Enumerator
eUnknown 
eRevit 
eIFC 

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