WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Interface SettingDefinition

    设置项定义接口

    interface SettingDefinition {
        key: string;
        label: string;
        type: SettingValueType;
        group: string;
        description?: string;
        source: "SystemConstants" | "Engine" | "DocEnv";
        min?: number;
        max?: number;
        step?: number;
        readonly?: boolean;
        options?: SettingOption[];
    }
    Index

    Properties

    key: string

    设置键名

    label: string

    显示名称

    值类型

    group: string

    所属分组

    description?: string

    描述说明

    source: "SystemConstants" | "Engine" | "DocEnv"

    设置来源:SystemConstants、Engine 或 DocEnv

    min?: number

    最小值(数字类型)

    max?: number

    最大值(数字类型)

    step?: number

    步进值(数字类型)

    readonly?: boolean

    是否只读

    options?: SettingOption[]

    下拉选项(用于 select 类型)