Home > All Other Interfaces > IPoints > InsertPoint

InsertPoint

Inserts a point in the selected position on the geometry.

 

JavaScript

 

InsertPoint(

      InsertAfterIndex,

      X,

      Y,

      Z)

 

C#

 

void InsertPoint(

      int InsertAfterIndex,

      double X,

      double Y,

      double Z)

 

C++

 

HRESULT InsertPoint(

      long InsertAfterIndex,

      double X,

      double Y,

      double Z)

 

Parameters

InsertAfterIndex

The zero-based index of the point after which a point should be inserted. Use Count to determine the number of points.

X

The point’s x-coordinate in the project’s coordinate system units.

Y

The point’s y-coordinate in the project’s coordinate system units.

Z

The point’s z-coordinate in the project’s coordinate system units.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.