MLightCAD
    Preparing search index...

    Interface representing a command group in the command stack. Groups commands by name and provides maps for both global and local command lookups.

    interface AcEdCommandGroup {
        aliasesByCommand: Map<AcEdCommand<{}>, Set<string>>;
        commandsByAlias: Map<string, AcEdCommand<{}>>;
        commandsByGlobalName: Map<string, AcEdCommand<{}>>;
        commandsByLocalName: Map<string, AcEdCommand<{}>>;
        groupName: string;
    }
    Index

    Properties

    aliasesByCommand: Map<AcEdCommand<{}>, Set<string>>

    Reverse index of aliases by command instance.

    This map allows:

    • Efficient cleanup of all aliases when a command is removed
    • Efficient alias listing in command UI (auto-complete display)
    commandsByAlias: Map<string, AcEdCommand<{}>>

    Map of commands indexed by alias names.

    Key is normalized alias (uppercase), value is the registered command object. Used for direct lookup by alias and conflict checks during registration.

    commandsByGlobalName: Map<string, AcEdCommand<{}>>

    Map of commands indexed by their global names

    commandsByLocalName: Map<string, AcEdCommand<{}>>

    Map of commands indexed by their local names

    groupName: string

    The name of the command group