IAcSmEnumFileReference


The Enumerator for IAcSmFileReference objects.

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 resources (scanUntilObject iter "AcSmResources"))
(setq iter (vlax-invoke-method resources 'GetEnumerator))

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

Next

iterates to the next and returns the actual element

(while obj  (setq obj  (vlax-invoke-method iter 'Next)))

HRESULT Next ([out, retval] IAcSmFileReference** ppRef)

Reset

resets the enumerator to the first element

(vlax-invoke-method iter 'Reset)

HRESULT Reset ()



©  Bricsys NV. All rights reserved.