Skip to main content

Measure API

Measure.FollowParametricObject

Used to get camera values along a curve segment or cylinder center

Properties​

ids​

• Readonly ids: ObjectId[]

Collection of Object Ids, if multiple then it must be following cylinders


parameterBounds​

• Readonly parameterBounds: ParameterBounds

Start and stop bounds of the followed object, unless the parametric object specify otherwise start will be 0 and end will be the length of all segments


selectedEntity​

• Readonly selectedEntity: MeasureEntity

Information about the entity, used to avoid finding the objects in api functions


type​

• Readonly type: "cylinder" | "edge" | "curve" | "cylinders"

Type of object that is being followed

Methods​

getCameraValues​

â–¸ getCameraValues(t): Promise<CameraValues>

Returns camera values for given parameter T, if T is before start it will return camera values at start and if its larger than end it will return camera values for end

Parameters​

NameType
tnumber

Returns​

Promise<CameraValues>