VCAddPoint3D


Version:

1.2

Description:

Add a 3D point to the drawing database that is not constrained to the z=0 plane.

Declaration:

 

C/C++

extern "C" void WINAPI VCAddPoint3D(short* iError, short iSymbolIndex, Point3D* dpP);

Delphi

procedure VCAddPoint3D(var iError: Smallint; iSymbolIndex: Smallint; var dpP: Point3D); stdcall;

ActiveX/COM

Sub AddPoint3D(ByVal iSymbolIndex As Integer, dpP As IVCPoint3D)

Parameters:

iSymbolIndex - index location for adding the entity.
-1 - NONDEFENTITY (Drawing)
-2 - HATCHFILLENTITY
>0 - Use VCGetSymbolIndex to retrieve the symbol index for creating a symbol definition.
dpP0
- the Point3D structure containing the coordinates to place the point definition.

Notes:

Any entity added to the Visual CADD™ drawing database or to a symbol definition will take on the current properties for line type, color, layer, and width. These properties should be set before adding the entity or they may be changed after creation with the change commands. All point locations including those within a symbol definition are relative to the drawing origin. Each entity added will be appended to the end of the database and take on the entity handle of one higher than the last entity in the drawing before the addition. To add entities to a symbol definition, the index of an existing symbol is retrieved with VCGetSymbolIndex while VCCreateSymbolDef creates an empty definition for a new symbol.

See Also:

VCAcadReadWith3D,VCAddLine3D, VCAddPolygon3D, VCGetSymbolIndex, VCCreateSymbolDef