VCCreateSymbolDef


Version:

1.2

Description:

Creates a new empty definition for building a symbol by adding entities.

Declaration:

 

C/C++

extern "C" short WINAPI VCCreateSymbolDef(short* iError, char* pName);

Delphi

function VCCreateSymbolDef(var iError: Smallint; pName: PAnsiChar):Smallint; stdcall;

ActiveX/COM

Function CreateSymbolDef(ByVal pName As String) As Integer

Parameters:

pName - the name of the symbol.
returns - the symbol index number.

Notes:

To create a new symbol from an external application, it is first necessary to create an empty symbol definition using VCCreateSymbolDef. VCCreateSymbolDef returns a symbol index which is be used by all the add entity routines that are used to build the symbol.

See Also:

VCGetSymbolIndex, VCGetSymName, VCGetSymbolName