GetLastUserInput Method (ICommandMessage)

GetLastUserInput Method (ICommandMessage) | Send Feedback
See Also

UserInput[out]
  Last value input by a user in the command window (see Remarks)

Gets the last value input by a user in the command window.

# Syntax

Visual Basic |
--- | ---
    Function GetLastUserInput() As System.String

C# |
--- | ---
    System.string GetLastUserInput()

JavaScript |
--- | ---
    GetLastUserInput() : String

COM native C++ |
--- | ---
    HRESULT GetLastUserInput(
       BSTR* UserInput
    )

C++ |
--- | ---
    DSRESULT GetLastUserInput(
       dsString* UserInput
    )

#### Parameters

UserInput[out] or Return Value
  Last value input by a user in the command window (see Remarks)

# Remarks

If the user:

- picked a point instead of typing a value for a point, then Return Value is empty.
- input an invalid value for an angle, then checking Return Value might be helpful.

# See Also

####

ICommandMessage Interface
ICommandMessage Members

# Availability

DraftSight V1R6.0