Version: |
1.2 |
Description: |
Add a 3D line to the drawing database that is not constrained to the z=0 plane. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCAddLine3D(short* iError, short iSymbolIndex, Point3D* dpP0, Point3D* dpP1); |
Delphi |
procedure VCAddLine3D(var iError: Smallint; iSymbolIndex: Smallint; var dpP0: Point3D; var dpP1: Point3D); stdcall; |
ActiveX/COM |
Sub AddLine3D(ByVal iSymbolIndex As Integer, dpP0 As IVCPoint3D, dpP1 As IVCPoint3D) |
Parameters: |
iSymbolIndex
- index location for adding the entity. |
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: |
VCAddLineEntity , VCAddPoint3D , VCAddPolygon3D, VCGetSymbolIndex, VCCreateSymbolDef |