Close
Relief for ODA Team in Ukraine
Learn more
ODA PRC SDK
API Reference
>
Classes
>
ExPrcCommandContext Class
>
ExPrcCommandContext Methods
>
ExPrcCommandContext::getReal Method
ExPrcCommandContext::getReal Method
Syntax
C++
virtual
double
getReal
(
const
OdString&
prompt
,
int
options
= OdEd::kInpDefault,
double
defVal
= 0.0,
const
OdString&
keywordList
= OdString::kEmpty, OdEdRealTracker*
pTracker
= 0);
Description
Gets user input of a real value from the command's input.
Parameters
Parameters
Description
prompt
[in] A prompt string with text printed before waiting for user input.
options
[in] A set of input options (bitwise or combination of the OdEd::CommonInputOptions enum).
defVal
[in] A default value returned if user inputs nothing.
keywordList
[in] A string with a keywords list.
pTracker
[in] A pointer to a notification interface for tracking changes in the command context object.
Returns
Returns the entered double value.
Links
ExPrcCommandContext Class
Was this documentation helpful?
We are sorry. Please tell us what we can improve.
*
Great! Please provide additional feedback.
(Optional)
Thank you for your feedback!
Please wait...
Something went wrong!