DwgLayout
Interface in @bimworks/viewer3d.
API catalogue · @bimworks/viewer3d · Interface
One layout (model space or a sheet) of a DwgSemantics
Members#
| Member | Kind | Description |
|---|---|---|
| bounds | Property | The layout's bounding box [minX, minY, minZ, maxX, maxY, maxZ] in the drawing's own units (PDF: points), before the model's placement: times Viewer3d.getMode… |
| model | Property | Whether this is the model space (for a PDF: page 1) |
| name | Property | The layout's name, as Viewer3d.showDwgLayout takes it ("Page n" for a PDF page) |
| oids | Property | The products holding the layout's geometry, oids of the model's version |
bounds#
TypeScript#
bounds?: [number, number, number, number, number, number]The layout's bounding box [minX, minY, minZ, maxX, maxY, maxZ] in the drawing's own units (PDF: points), before the
model's placement: times Viewer3d.getModelLengthUnitMm it is in the model frame. Absent for an empty layout
model#
TypeScript#
model: booleanWhether this is the model space (for a PDF: page 1)
name#
TypeScript#
name: stringThe layout's name, as Viewer3d.showDwgLayout takes it ("Page n" for a PDF page)
oids#
TypeScript#
oids: (number)[]The products holding the layout's geometry, oids of the model's version