GetCommandOptionPoint3D Method (IDocument)

GetCommandOptionPoint3D Method (IDocument) | Send Feedback
See Also Example

Var
  Command option as defined in dsCommandOptionPoint3d_e

X[out]
  x coordinate of 3D point

Y[out]
  y coordinate of 3D point

Z[out]
  z coordinate of 3D point

Result[out]
  Status of getting the 3D point's coordinates for the command option as defined in dsGetCommandOptionResult_e

Gets the 3D point's coordinates for the specified command option in the document.

# Syntax

Visual Basic |
--- | ---
    Sub GetCommandOptionPoint3D( _
       ByVal Var As dsCommandOptionPoint3d_e, _
       ByRef X As System.Double, _
       ByRef Y As System.Double, _
       ByRef Z As System.Double, _
       ByRef Result As dsGetCommandOptionResult_e _
    )

C# |
--- | ---
    void GetCommandOptionPoint3D(
       dsCommandOptionPoint3d_e Var,
       out System.double X,
       out System.double Y,
       out System.double Z,
       out dsGetCommandOptionResult_e Result
    )

JavaScript |
--- | ---
    GetCommandOptionPoint3D(
       Var : String
    ) : {
       X : Number,
       Y : Number,
       Z : Number,
       Result : String
    }

COM native C++ |
--- | ---
    HRESULT GetCommandOptionPoint3D(
       dsCommandOptionPoint3d_e Var,
       DOUBLE* X,
       DOUBLE* Y,
       DOUBLE* Z,
       dsGetCommandOptionResult_e* Result
    )

C++ |
--- | ---
    DSRESULT GetCommandOptionPoint3D(
       dsCommandOptionPoint3d_e Var,
       double* X,
       double* Y,
       double* Z,
       dsGetCommandOptionResult_e* Result
    )

#### Parameters

Var
  Command option as defined in dsCommandOptionPoint3d_e
X[out]
  x coordinate of 3D point
Y[out]
  y coordinate of 3D point
Z[out]
  z coordinate of 3D point
Result[out] or Return Value
  Status of getting the 3D point's coordinates for the command option as defined in dsGetCommandOptionResult_e

# Example

Get and Set Command Options (C#)
Get and Set Command Options (VB.NET)
Get and Set Command Options (VBA)

# See Also

####

IDocument Interface
IDocument Members
IDocument::SetCommandOptionPoint3D Method

# Availability

DraftSight V1R1.1