evCreate API 5.7 Help

Configuration evCreate API Section

The Configuration section of the evCreate API includes enumerations, interfaces, and functions to query and configure settings that affect the behavior of the entire evCreate API.

config namespace

The Configuration evCreate API section is accessed with the config namespace:

evCreate.config.Function()

Enumerations

EvAngleUnit

An enumeration of units of measurements for angles in the entire evCreate API.

EvDocUnit

An enumeration of units of measurements for document coordinates in the entire evCreate API.

EvLogLevelFilter

An enumeration of options for filtering out the logging output printed in the console.

Interfaces

EvCreateApiOptions

An interface with the configuration properties of the evCreate API.

Functions

ConfigureOptions(opt: EvCreateApiOptions): Promise<EvCreateApiOptions>

A function to set the global configuration properties of the evCreate API.

GetApiVersion(): string

A function to get the version of the evCreate API.

GetCurrentOptions(): Promise<EvCreateApiOptions>

A function to get the current settings of the global configuration properties of the evCreate API.

GetDefaultOptions(): Promise<EvCreateApiOptions>

A function to get the default settings of the global configuration properties of the evCreate API.

SetLogging(enable: boolean, filter?: EvLogLevelFilter): void

A function to turn on or off and configure printing the logging output to the console.

WhenApiReady(): Promise<void>

A function to notify when the evCreate API is ready for calls.

10 February 2025