IAcSmSheet


The Sheet 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 layouts (vla-get-layouts doc))
(setq layout (vla-item layouts "A1"))
(setq smdb (vlax-invoke-method ssmgr 'GetSheetFromLayout layout 'objSheet))

GetNumber

returns the number property of this sheet

(setq res (vlax-invoke-method objSheet 'GetNumber))

HRESULT GetNumber ([out, retval] BSTR* num)

SetNumber

assigns the number property for this sheet

(vlax-invoke-method objSheet 'SetNumber "5")

HRESULT SetNumber ([in] BSTR num)

GetTitle

returns the title property of this sheet

(setq res (vlax-invoke-method objSheet 'GetTitle))

HRESULT GetTitle ([out, retval] BSTR* title)

SetTitle

assigns the title property for this sheet

(vlax-invoke-method objSheet 'SetTitle "NewTitle")

HRESULT SetTitle ([in] BSTR title)

GetLayout

returns the IAcSmAcDbLayoutReference which references the AcDbLayout associated with this sheet

(setq layoutref (vlax-invoke-method objSheet 'GetLayout))

HRESULT GetLayout ([out, retval] IAcSmAcDbLayoutReference** ppLayoutRef)

SetLayout

assigns the IAcSmAcDbLayoutReference which references the AcDbLayout associated with this sheet

(vlax-invoke-method objSheet 'SetLayout layoutref)

HRESULT SetLayout ([in] IAcSmAcDbLayoutReference* pLayoutRef)

GetDoNotPlot

returns whether this sheet should be skipped during plot and publish operations

(setq res (vlax-invoke-method objSheet 'GetDoNotPlot))

HRESULT GetDoNotPlot ([out, retval] VARIANT_BOOL* doNotPlot)

SetDoNotPlot

defines whether this sheet should be skipped during plot and publish operations

(vlax-invoke-method objSheet 'SetDoNotPlot :vlax-true)

HRESULT SetDoNotPlot ([in] VARIANT_BOOL doNotPlot)

GetSheetViews

returns the sheet views collection of this sheet

(setq sheetviews (vlax-invoke-method objSheet 'GetSheetViews))

HRESULT GetSheetViews ([out, retval] IAcSmSheetViews** sheetviews)



©  Bricsys NV. All rights reserved.