A collection of AcEdKeyword objects, mirroring Autodesk.AutoCAD.EditorInput.KeywordCollection. Represents the set of valid keywords for a prompt.

Constructors

Accessors

Methods

  • Adds a new keyword (displayName only).

    Parameters

    • displayName: string

      The text shown to the user for this keyword.

    Returns AcEdKeyword

    The newly created AcEdKeyword.

  • Adds a new keyword with globalName and localName.

    Parameters

    • globalName: string

      The internal, non-display name.

    • localName: string

      The name that the user types to select the keyword.

    Returns AcEdKeyword

    The newly created AcEdKeyword.

  • Adds a new keyword with displayName, globalName, localName, enabled, visible.

    Parameters

    • displayName: string

      The text shown to the user.

    • globalName: string

      Internal identifier for the keyword.

    • localName: string

      The name used by the user to type the keyword.

    • Optionalenabled: boolean

      If false, the keyword cannot be selected.

    • Optionalvisible: boolean

      If false, the keyword is hidden from display.

    Returns AcEdKeyword

    The newly created AcEdKeyword.