PromptForPoint Method (ICommandMessage) Send Feedback
See Also  Example
Result[out]
True if the prompt is displayed in the command window, false if not
Prompt
Text of prompt
X[out]
x coordinate of a point
Y[out]
y coordinate of a point
Z[out]
z coordinate of a point
Obsolete. Superseded by ICommandMessage::PromptForPoint2.

Syntax

Visual Basic 
Function PromptForPoint( _
   ByVal Prompt As System.String, _
   ByRef X As System.Double, _
   ByRef Y As System.Double, _
   ByRef Z As System.Double _
) As System.Boolean
C# 
System.bool PromptForPoint( 
   System.string Prompt,
   out System.double X,
   out System.double Y,
   out System.double Z
)
JavaScript 
PromptForPoint( 
   Prompt : String
) : {
   X : Number,
   Y : Number,
   Z : Number,
   Result : Boolean
}
COM native C++ 
HRESULT PromptForPoint( 
   BSTR Prompt,
   DOUBLE* X,
   DOUBLE* Y,
   DOUBLE* Z,
   VARIANT_BOOL* Result
) 
C++ 
DSRESULT PromptForPoint( 
   const dsString& Prompt,
   double* X,
   double* Y,
   double* Z,
   bool* Result
) 

Parameters

Prompt
Text of prompt
X[out]
x coordinate of a point
Y[out]
y coordinate of a point
Z[out]
z coordinate of a point
Result[out] or Return Value
True if the prompt is displayed in the command window, false if not

Example

 

See Also

Availability

DraftSight V1R1.1