The CADCreate function creates a new CAD drawing object and loads it from the specified file.
Identifies the window that will get system messages during the file loading. Usually it is the main window of client application. If no
file is specified, hWindow can be NULL.
Points to a null-terminated string that specifies the DXF (*.dxf), DWG (*.dwg), HPGL (*.hgl; *.plt; *.hg; *.hpg; *.plo), SVG (*.svg)
or CGM (*.cgm) file name to be loaded. If this parameter is NULL, no file is loaded and the empty CAD drawing object is created.
If the function succeeds, the return value is a handle of new CAD drawing object.
If the function fails, the return value is NULL. To get extended error information, call CADGetLastError.
© 2003-2021 CADSoftTools
Go to CAD DLL