brepjs API Reference
    Preparing search index...

    Interface ChoiceParamDef

    A parameter that takes one of a fixed list of strings.

    interface ChoiceParamDef {
        default: string;
        description?: string;
        group?: string;
        label?: string;
        options: readonly string[];
        type: "choice";
    }

    Hierarchy

    • ParamDefBase
      • ChoiceParamDef
    Index
    default: string
    description?: string
    group?: string

    Tools show parameters with the same group together.

    label?: string

    Display name. Tools fall back to the parameter key.

    options: readonly string[]
    type: "choice"