IAcSmSheetSet


The Sheet Set component interface.

available methods :

(setq cad (vlax-get-acad-object))
(setq doc (vla-get-ActiveDocument cad))
(setq ssmgr (vla-GetInterfaceObject cad "BricscadSm.AcSmSheetSetMgr"))
(setq smdb (vlax-invoke-method ssmgr 'OpenDatabase dstfile))
(setq sheetset (vlax-invoke-method smdb 'GetSheetSet))
(setq sheetSelSets (vlax-invoke-method sheetset "GetSheetSelSets"))
(setq sheetSelSet (vlax-invoke-method iter 'Next))

Add

adds the specified component to this selection set

(vlax-invoke-method sheetSelSet 'Add firstobj)

HRESULT Add ([in] IAcSmComponent* component)

Remove

removes the specified component from this selection set

(setq iter (vlax-invoke-method sheetSelSet 'GetEnumerator))
(setq firstobj (vlax-invoke-method iter 'Next))
(vlax-invoke-method sheetSelSet 'Remove firstobj)

HRESULT Remove ([in] IAcSmComponent* component)

GetEnumerator

returns an enumerator for the components in this selection set

(setq iter (vlax-invoke-method sheetSelSets 'GetEnumerator))

HRESULT GetEnumerator ([out, retval] IAcSmEnumComponent** enumerator)



©  Bricsys NV. All rights reserved.