Pausing for User Input

If an AutoCAD command is in progress and AutoCAD encounters the PAUSE symbol as an argument to acedCommandS() or acedCmd(), the command is suspended to allow direct user input, including dragging. The PAUSE symbol consists of a string that contains a single backslash. This is similar to the backslash pause mechanism provided for menus.

The following call to acedCommandS() invokes the ZOOM command and then uses the PAUSE symbol so that the user can select one of the ZOOM options.

result = acedCommandS(RTSTR, "Zoom", RTSTR, PAUSE, RTNONE);

The following call starts the CIRCLE command, sets the center point as (5,5), and then pauses to let the user drag the circle's radius on the screen. When the user specifies the chosen point (or enters the chosen radius), the function resumes, drawing a line from (5,5) to (7,5).

result = acedCommandS(RTSTR, "circle", RTSTR, "5,5", 
    RTSTR, PAUSE, RTSTR, "line", RTSTR, "5,5", RTSTR, 
    "7,5", RTSTR, "", 0);