API Reference > Classes > PRC Protocol Extensions Classes > ExPrcCommandContext Class
ExPrcCommandContext Class
ExPrcCommandContextExPrcCommandContext
Syntax
C++
class ExPrcCommandContext : public OdPrcCommandContext, protected OdEdBaseUserIO, protected OdEdFunctionIO;

ExPrcCommandContext.h

This class defines the interface for input/output operations and database access for samples of custom commands during their execution. 

 

For additional information, see OdPrcCommandContext class documentation.

 
Name 
Description 
 
Returns a database pointer for using in a custom command. 
 
Returns the user IO object for this CommandContext object. 
ExPrcCommandContext Class
 
Name 
Description 
 
Reads the arbitrary data from the specified file within the command context object.  
 
Returns the database associated with the command context object. 
 
Returns the current unit base formatter for the command context object. The formatter is returned as a reference, therefore it can be used to change formatter settings. 
 
This is the overview for the createObject method overload. 
 
Creates a rectangular frame from the specified point (base point) to the user input.  
 
Creates a rubberband line from the specified point (base point) to the user input.  
 
Returns the current object for implementing non-geometric interactive user input/output functionality for the command context. 
 
Gets user input of an angle value from the command's input.  
 
Gets user input of a color value from the command's input.  
 
Gets user input of a distance value from the command's input.  
 
Gets user input of a distance value from the command's input.  
 
Gets user input of an integer value from the command's input.  
 
Gets user input of a keyword value from the command's input.  
 
Returns the LASTPOINT system variable value for the command context object. 
 
Gets user input of a point from the command's input.  
 
Gets user input of a real value from the command's input.  
 
Gets user input of a string value from the command's input.  
 
Returns a parameter object for the command context object. 
 
Returns the selection set containing the previous selection data with the command context object. 
 
Writes the specified string to the command's output.  
 
Returns the current result object for the command context object. 
 
Writes arbitrary data to the specified file with the command context object.  
 
Sets a new value of the LASTPOINT system variable for this CommandContext object.  
 
Sets the parameter object for the command context object.  
 
Sets the previous selection set for the command context object.  
 
Sets the result object for the command context object.  
 
Returns the current object for implementing user input/output operations for the command context. 
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.