Displays the specified prompt, local keywords, and default value for the orientation in the command window and gets the user's input.
.NET Syntax
COM native C++ | |
---|
HRESULT PromptForOrientationOrKeyword2(
BSTR Prompt,
BSTR ErrorMsg,
VARIANT GlobalKeywordStrArray,
VARIANT LocalKeywordStrArray,
LONG PromptInit,
VARIANT_BOOL ShowRubberLine,
DOUBLE DefaultValue,
IMathPoint* BasePoint,
BSTR* Keyword,
DOUBLE* Value,
dsPromptResultType_e* Result
) |
C++ | |
---|
DSRESULT PromptForOrientationOrKeyword2(
const dsString& Prompt,
const dsString& ErrorMsg,
const dsStringArray& GlobalKeywordStrArray,
const dsStringArray& LocalKeywordStrArray,
long PromptInit,
bool ShowRubberLine,
double DefaultValue,
dsMathPoint* BasePoint,
dsString* Keyword,
double* Value,
dsPromptResultType_e* Result
) |
Parameters
- Prompt[out]
- Text to display as the prompt in the command window
- ErrorMsg
- Error message to display in the command window when the user input is invalid
- GlobalKeywordStrArray
- Array of global keywords, which are typically language independent (see Remarks)
- LocalKeywordStrArray
- Array of local keywords, which are typically translated to the local language (see Remarks)
- PromptInit
- Prompt initialization as defined in dsPromptInit_e (see Remarks)
- ShowRubberLine
- True to display a rubber line from BasePoint to the location of the cursor, false to not display a rubber line
- DefaultValue
- Default orientation value to show in the prompt in the command window (see Remarks)
- BasePoint
- Base point
- Keyword[out]
- Keyword input by the user
- Value[out]
- Orientation value input by the user
- Result[out] or Return Value
- Result as defined in dsPromptResultType_e
Remarks
See Also
Availability
DraftSight V1R6.0