Path Dimension
Below we will consider the object displaying an overall linear distance between multiple points.
Object
Common type of a path dimension object (TypeScript):
export type C3DViewPathDimension = {
type: C3DViewObjectTypes.PathDimension
uuid?: string
points: C3DViewPoint[]
options: C3DViewDimensionOptions
userData: C3DUserData
}
The properties type, uuid, and userData are described here. The property options is described here. Additionally for this PMI object:
type can be
C3DViewObjectTypes.PathDimension
or a string"PathDimension"
;userData object is created in the process when returned in the
onCreate
event callback.
points is an array of points to build an object.