Version: |
1.2 |
Description: |
Loads a Generic CADD component definition into the drawing session. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCOpenCMP(char* szFile); |
Delphi |
procedure VCOpenCMP(szFile: PAnsiChar); stdcall; |
ActiveX/COM |
Sub OpenCMP(ByVal szFile As String) |
Parameters: |
szFile - a string representing the path and name of the symbol to load. |
Notes: |
This subroutine only loads symbols with the .CMP file extension. This offers advantages over VCOpenSymbol since the file type does not have to be passed as a parameter. This call only loads the symbol into memory, the symbol is not placed until a place symbol command is executed. Loaded symbols are available to all drawings created in that session. |
See Also: |