API Reference > Classes > Extension Classes > ExBimCommandContext Class > ExBimCommandContext Methods > ExBimCommandContext::getInt Method
ExBimCommandContext::getInt Method
Syntax
C++
virtual int getInt(const OdString& prompt, int options = OdEd::kInpDefault, int defVal = 0, const OdString& keywords = OdString::kEmpty, OdEdIntegerTracker* pTracker = 0);
Parameters 
Description 
const OdString& prompt 
[in] Prompt output before pausing for user input.  
int options = OdEd::kInpDefault 
[in] Combination of OdEd::CommonInputOptions and OdEd::GetStringOptions enum values.  
int defVal = 0 
[in] Default value.  
const OdString& keywords = OdString::kEmpty 
[in] Keyword string.  
pPtTracker 
[in] Pointer to a Point Tracker for this user input. 

Gets integer value of this CommandContext object. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.