Represents edit length dimension command.

Hierarchy (View Summary)

Constructors

Properties

_myExecutor: CommandExecutor
_myModule: OccViewer
initialValue: any
name: string = "Edit length dimension command"

Methods

  • Cancel will be called when user cancel the command.

    Returns void

  • Get point helper for commands. It asks user to input the point If command will be canceled callback will never be called

    Parameters

    Returns void

  • Text input helper. To work correctly should be added ontextrequest listener. If command will be canceled callback will never be called.

    Parameters

    • theInitial: string

      initial text value.

    • theCallback: (theText: string) => void

      the callback.

    Returns Promise<void>

  • Start function will be called at start of command.

    Parameters

    • theParam: any

      the command param

    Returns void

    void