yucad3d

CadFileNew

New empty drawing in-place (Vecad CadFileNew = CadPurge CAD_CLEAR_ALL): erase every entity, reset dirty + filename.

void CadFileNew ( YuHandle hDwg, void* hWin );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
hWin (void*)
Host window handle (Win32 HWND, passed as an opaque pointer).

Return Value

None.

See Also