Type Alias DucGlobalState

DucGlobalState: {
    mainScope: Scope;
    scopeExponentThreshold: number;
    viewBackgroundColor: string;
}

Defines the global, persistent settings for the drawing. These are fundamental properties of the document itself and are independent of any active Standard. They travel with the file and are consistent for all users.

Type declaration

  • mainScope: Scope

    The master unit system for the entire drawing, used for block/file insertion scaling.

  • scopeExponentThreshold: number

    Exponent threshold for determining when to change measurement scope (up or down). This value defines a +/- tolerance range around the exponent of the current scope.

  • viewBackgroundColor: string

    The background color of the drawing