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:
Enumerations
EvAngleUnitAn enumeration of units of measurements for angles in the entire evCreate API.
EvDocUnitAn enumeration of units of measurements for document coordinates in the entire evCreate API.
EvLogLevelFilterAn enumeration of options for filtering out the logging output printed in the console.
Interfaces
EvCreateApiOptionsAn 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(): stringA 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): voidA 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.