SetPointData Method (ICustomData) Send Feedback
See Also  Example
Index
Index of the custom data element
X
x coordinate
Y
y coordinate
Z
z coordinate
Sets the specified custom data element whose value is a point.

Syntax

Visual Basic 
Sub SetPointData( _
   ByVal Index As System.Integer, _
   ByVal X As System.Double, _
   ByVal Y As System.Double, _
   ByVal Z As System.Double _
) 
C# 
void SetPointData( 
   System.int Index,
   System.double X,
   System.double Y,
   System.double Z
)
JavaScript 
SetPointData( 
   Index : Number,
   X : Number,
   Y : Number,
   Z : Number
)
COM native C++ 
HRESULT SetPointData( 
   LONG Index,
   DOUBLE X,
   DOUBLE Y,
   DOUBLE Z
) 
C++ 
DSRESULT SetPointData( 
   long Index,
   double X,
   double Y,
   double Z
) 

Parameters

Index
Index of the custom data element
X
x coordinate
Y
y coordinate
Z
z coordinate

Example

Remarks

Call ICustomData::GetDataCount before calling this method to determine a valid value for Index.
 

See Also

Availability

DraftSight V1R1.2