VCSaveVCS


Version:

1.2

Description:

Saves a symbol definition to disk for use in other drawing.

Declaration:

 

C/C++

extern "C" void WINAPI VCSaveVCS(char* szSymbolName, char* szSymbolFile);

Delphi

procedure VCSaveVCS(szSymbolName: PAnsiChar; szSymbolFile: PAnsiChar); stdcall;

ActiveX/COM

Sub SaveVCS(ByVal szSymbolName As String, ByVal szSymbolFile As String)

Parameters:

szSymbolName - a string representing the name of the symbol within the drawing.
szSymbolFile
- a string representing the path and name for the file to save.

Notes:

While it is common practice, it is not required that the file name used to save the symbol file match the symbol's internal name. The internal name is limited to 32 characters plus a terminating NULL. The file name is retricting only by Windows file naming conventions. The internal name for a .VCS file can be determined with VCGetSymbolInternalName.

See Also:

VCOpenVCS, VCOpenVCA VCSaveVCA