Hide menu
Loading...
Searching...
No Matches
View

Represents a view on a drawing sheet.

Usually a view is a logical portion of the sheet, containing one of the literal views of the model (e.g. top view, isometric view, cutaway view). Following this idea, the view is defined by a position in the sheet and a scale (real-world model dimensions vs on-paper dimensions).

Extends

Constructors

new View()

new View(position): View

Parameters

position

Axis2d = ...

Position of the view.

Returns

View

Overrides

BaseObject.constructor

Properties

elements

readonly elements: Set<Element>

Collection of elements.


position

position: Axis2d

Position of the view.


scale

scale: Ratio

Scale of the view.

Accessors

id

Get Signature

get id(): bigint

Returns object id.

Returns

bigint

Inherited from

BaseObject.id


numberOfElements

Get Signature

get numberOfElements(): number

Returns the number of elements in the view.

Deprecated

Use elements.size instead.

Returns

number


uuid

Get Signature

get uuid(): null | `$string