PromptForPoint Method (ICommandMessage)

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

Insert Lines and Angular Dimension (JavaScript)
Create Circles on Different Layers (JavaScript)
Insert Block, Notes, and Sketch Entities (JavaScript)
Insert Splines (JavaScript)
Insert HyperLink (JavaScript)
Insert and Dimension Sketch (JavaScript)
Mirror Entities (JavaScript)
Insert Hatch by Entities or Internal Points (C#)
Insert Hatch by Entities or Internal Points (VB.NET)
Insert Hatch by Entities or Internal Points (VBA)

# See Also

####

ICommandMessage Interface
ICommandMessage Members

# Availability

DraftSight V1R1.1