evCreate API 5.7 Help

Dimensions

The Dimensions subsection of the Object section of the evCreate API includes enumerations and functions to create and update dimension items.

dimensions namespace

The Dimensions subsection of the Object evCreate API section is accessed with the dimensions namespace inside the object namespace:

evCreate.object.dimensions.Function()

Enumerations

EvAutoDimensionsTypes

An enumeration of options for auto-dimensioning object items.

EvDimensionsTextDisplayType

An enumeration of options for placing the dimension label relative to the dimension arrow line.

Functions

AutoCreate(objs: EvItem[], type?: EvAutoDimensionsTypes): Promise<EvItem[]>

A function to draw auto-dimensions of a given type for given object items.

SetCustomValue(obj: EvItem, value: string): Promise<void>

A function to replace the auto-measured value of a given dimension item with a given custom value.

SetTextCentered(obj: EvItem, centered: boolean): Promise<void>

A function to manage the centering of the label along the arrow line of a given dimension item.

SetTextDisplay(obj: EvItem, textDisplay: EvDimensionsTextDisplayType): Promise<void>

A function to move the label to a given position on the arrow line of a given dimension item.

SetUseCustomValue(obj: EvItem, use: boolean): Promise<void>

A function to enable or disable custom values for a given dimension item.

07 April 2025