Close

Relief for ODA Team in Ukraine

Learn more
ODA PRC SDK
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);

Gets user input of a real value from the command's input.

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 the entered double value.

Copyright © 2002-2022. Open Design Alliance All rights reserved.