BIMHome
v1.0.0
BIMHome接口文档说明
首页
相关页面
Topics
包
类
文件
App
IDocument
_removeObject
abortTransaction
addChildDocument
addObject
addObject
afterRestore
afterRestore
commitTransaction
create
create
deleteIDocument
deleteSubPartOrProduct
exportGraphviz
exportObjects
getAllDocument
getAvailableRedoNames
getAvailableRedos
getAvailableUndos
getDependentDocuments
getDocCategory
getDocumentByDocCategory
getDocumentById
getDocumentByName
getDocumentId
getDocumentObjects
getDocumentObjectsHasName
getDocumentType
getErrorDescription
getFileName
getId
getLinksTo
getLocalPlacement
getName
getObject
getObjectById
getObserverDelegate
getParentDocument
getParentDocumentByType
getPartMaps
getPlacement
getProgramVersion
getPropertyAccessor
getRefCount
getRootDocument
getRootObjects
getSubDocument
getTemplateDirName
getTransactionID
getTransientDirectoryName
getUniqueObjectName
hasPendingTransaction
importFile
importLinks
isClosable
isPerformingTransaction
isSaved
isTransactionEmpty
loadFile
locateObjs
moveObject
openTransaction
paramterNewObject
purgeTouched
recomputeDocument
removeAllObjects
removeChildDocument
removeObject
save
saveAs
setActiveIDocument
setDocCategory
setDocumentLabel
setDocumentName
setFileName
setId
setLocalPlacement
setObserverDelegate
setPlacement
setRootIDocument
setUndoMode
topologicalSort
~IDocument
◆
loadFile()
static
IDocument
* loadFile
(
const char *
pPath
,
IDocument
*
pProduct
=
nullptr
,
const char *
pAppDocDelegateName
=
nullptr
,
DocType
type
=
DocType::Component
,
bool
createView
=
true
,
bool
tempDoc
=
false
)
static
加载一个文档
加载一个文档
参数
[in]
pPath
文档路径
[in]
pProduct
指向装配的指针,默认为 nullptr
[in]
pAppDocDelegateName
文档代理名称,默认为 nullptr
[in]
type
文档类型,默认为 Component
[in]
createView
是否创建视图,默认为 true
[in]
tempDoc
是否是临时文档,默认为 false
返回
加载的文档对象指针