Ask the user to specify a point.
This function pauses to get a point from the user. You may prompt the user to enter a point, either numerically, or by picking one.
The argument point represents an existing point for reference. If this point is used, IntelliCAD® 2001 draws a rubber-band line from the point to the cursor while the user is picking the requested point. This argument may be null.
The argument prompt represents a command-line prompt requesting that the user enter a point. This argument may be null.
The argument answer is the point entered by the user.
This function returns one of the following: RTCAN, RTERROR, RTKWORD, RTNONE, or RTNORM.
Example
sds_point point1;
sds_getpoint(NULL,"\nPlease pick or specify a point: ",point1);
sds_printf("\nThe point is (%f,%f,%f). ",point1[0],point1[1],point1[2]);
Tell me about...
Programming Overview of SDS™ (Solutions Development System™)