CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
FxBIMProject.h
Go to the documentation of this file.
1#pragma once
2
3#include "FxBIM.h"
4
5class CFxBIMStorage;
7
8class CFxBIMSection;
10
13
15{
16public:
18 {
20 eNotBim = 0x1,
21 eModel = 0x2, //main
22 eDrawing = 0x4, //flatshot
23 eSheet = 0x8,
24 };
29
30 static OdDbDatabase* OpenDatabase( const OdString& fileName );
31 static void CloseDatabase( OdDbDatabase* pDb );
32 static void SaveDatabase( OdDbDatabase* pDb );
33
34 static bool GetSectionAndDrawingDb( OdDbObjectId idViewport, CFxBIMSectionPtr& ptrSection, OdDbDatabase*& pDrawingDb, CFxBIMSectionViewPtr& ptrSV );
35};
#define FXBIM_API
Definition FxBIMDefs.h:4
OdSmartPtr< CFxBIMSection > CFxBIMSectionPtr
OdSmartPtr< CFxBIMStorage > CFxBIMStoragePtr
Definition FxBIMProject.h:6
OdSmartPtr< CFxBIMSectionView > CFxBIMSectionViewPtr
static OdDbDatabase * ModelDatabase(OdDbDatabase *pDb)
static void CloseDatabase(OdDbDatabase *pDb)
static OdDbDatabase * OpenDatabase(const OdString &fileName)
static OdString ModelDatabaseName(OdDbDatabase *pDb)
static BimStatusFlags BimStatusFlag(const CFxBIMStoragePtr pStorage)
static BimStatusFlags BimStatus(OdDbDatabase *pDb)
static bool GetSectionAndDrawingDb(OdDbObjectId idViewport, CFxBIMSectionPtr &ptrSection, OdDbDatabase *&pDrawingDb, CFxBIMSectionViewPtr &ptrSV)
static void SaveDatabase(OdDbDatabase *pDb)