IAcSmAcDbDatabase


The interface for an AcDbDatabase object.

available methods :

(setq cad (vlax-get-acad-object))
(setq ssmgr (vla-GetInterfaceObject cad "BricscadSm.AcSmSheetSetMgr"))
(setq smdb (vlax-invoke-method ssmgr 'OpenDatabase dstfile))
(setq iter (vlax-invoke-method smdb 'GetEnumerator))
(setq obj (scanUntilObject iter "AcSmAcDbBlockRecordReference"))

Note : "(scanUntilObject)" is a utility function contained in the sample Lisp files in folder "<LDSP>/SheetSetManager-Lisp-API/LISP Sample Code"

GetIAcadDatabase

returns an IAcadDatabase, which is deleted when the ain reference count goes to zero (when no longer used)

(setq acsmdb (vlax-invoke-method obj 'GetAcSmAcDbDatabase))

HRESULT GetIAcadDatabase ([out, retval] IAcadDatabase** pIAcadDatabase)

GetAcDbDatabase

returns the underlying AcDbDatabase* instance as C/C++ pointer

(setq iAcDb (vlax-invoke-method acsmdb 'GetIAcadDatabase))

HRESULT GetAcDbDatabase ([out, retval] void** ppAcDbDatabase)



©  Bricsys NV. All rights reserved.