IAcSmViewCategory


The Sheet View Category 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))
(vlax-invoke-method ssmgr "GetSheetFromLayout" layout sheet)
(setq sheetviews (vlax-invoke-method sheet 'GetSheetViews))
(setq iter (vlax-invoke-method sheetviews 'GetEnumerator))
(setq sheetview (vlax-invoke-method iter 'Next))
(setq viewcat (vlax-invoke-method sheetView 'GetCategory))

GetSheetViewEnumerator

returns a sheet view enumerator of the IAcSmSheetView components referencing this category

(setq iter (vlax-invoke-method viewcat 'GetSheetViewEnumerator))

HRESULT GetSheetViewEnumerator ([out, retval] IAcSmEnumSheetView** enumerator)

GetCalloutBlocks

returns a collection of the callout blocks that are referenced by this category

(setq callouts (vlax-invoke-method viewcat 'GetCalloutBlocks))

HRESULT GetCalloutBlocks ([out, retval] IAcSmCalloutBlocks** ppCalloutBlocks)



©  Bricsys NV. All rights reserved.