Represents a single sheet of a model drawing.
An object of this class mimics a physical sheet of paper, hence the size and orientation settings.
Normally a drawing sheet would have associated metadata, such as default scale, title block, etc. This information is represented with objects of DrawingView class.
new Sheet():
Sheet
Sheet
readonlyviews:Set<View>
Collection of views.
get height():
number
Returns the height of the sheet.
number
get id():
bigint
Returns object id.
bigint
get numberOfViews():
number
Returns the number of child views.
Use views.size instead.
number
get orientation():
OrientationType
Returns the orientation of the sheet.
get paperSize():
PaperSizeType
Returns the standard paper size of the sheet, if one was defined.
get uuid():
`${string}-${string}-${string}-${string}-${string}`|null
Returns uuid of the drawing sheet. null if the drawing sheet has no assigned uuid (by default).
`${string}-${string}-${string}-${string}-${string}` | null
set uuid(
uuid):void
Sets uuid of the drawing sheet.
Uuid of the drawing sheet.
`${string}-${string}-${string}-${string}-${string}` | null
void
get width():
number
Returns the width of the sheet.
number
addView(
view):void
Adds a view to the sheet.
Added view.
void
Use views.add(`view`) instead.
setCustomSheetSize(
width,height):void
Sets the custom sheet size with specified dimensions.
number
Width of the sheet.
number
Height of the sheet.
void
setStandardSheetSize(
paperSize,orientation):void
Sets the sheet size to one of the standard sizes.
Paper size of the sheet.
Orientation of the sheet.
void