DrawingPlaneAPI#
Interface DrawingPlaneAPI
Hierarchy
- DrawingPlaneAPI
Methods
change Drawing Plane
- change
Drawing Plane(drawingPlaneId, properties): DrawingPlaneProperties ExperimentalParameters
-
drawingPlaneId: number
The ID of the DrawingPlane you want to change.
-
properties: DrawingPlaneProperties
The properties of the DrawingPlane you want change.
Returns DrawingPlaneProperties
An Object with the changed Properties.
-
create Drawing Plane
- create
Drawing Plane(properties?): number ExperimentalCreates a new DrawingPlane with the specified properties.
Parameters
-
Optionalproperties: DrawingPlanePropertiesInitial properties of the created Drawing.
Returns number
The ID of the newly created Drawing.
-
get Drawing Plane Data
- get
Drawing Plane Data(drawingPlaneId): DrawingPlaneProperties ExperimentalReturns the DrawingPlane properties for the specified DrawingPlane ID.
Parameters
-
drawingPlaneId: number
The ID of the DrawingPlane you want to get the Data for.
Returns DrawingPlaneProperties
The requested DrawingPlane properties.
-
get Drawing Planes
remove Drawing Plane
- remove
Drawing Plane(drawingPlaneId, force?): RemoveDrawingPlaneState ExperimentalRemoves a DrawingPlane with the specified ID. If a DrawingPlane is part of a Snapshot the removal will fail with the State PART_OF_SNAPSHOT
Parameters
-
drawingPlaneId: number
The ID of the Drawing you want to remove.
-
Optionalforce: booleanForces the removal of the DrawingPlane even if the Drawing is part of one or more Snapshots.
Returns RemoveDrawingPlaneState
-
Changes one or more properties of a DrawingPlane with the specified ID.