VCGetCurrentEntityPointCount


Version:

1.2

Description:

Returns the number of points used in the definition of the current entity.

Declaration:

 

C/C++

extern "C" short WINAPI VCGetCurrentEntityPointCount(short* iError);

Delphi

function VCGetCurrentEntityPointCount(var iError: Smallint):Smallint; stdcall;

ActiveX/COM

Function GetCurrentEntityPointCount() As Integer

Parameters:

Returns - the number of points used to define the entity.

Notes:

Since continuous entities can be comprised of several construction points and not a preset amount of points, VCGetCurrentEntityPointCount provides the ability to determine the number of points prior to calling VCGetCurrentEntityPoint or VCGetCurrentEntityPoint3D which need a point index number in order to return the coordinates at each point. The current entity is set with VCSetCurrentEntity, VCFirstEntity, VCNextEntity, or VCLastEntity.

See Also:

VCFirstEntity, VCGetCurrentEntityPoint3D, VCGetCurrentEntityPoint,VCLastEntity, VCNextEntity, VCSetCurrentEntity