Version: |
1.2 |
Description: |
Initiates command to clear the current drawing of all entities. Will not prompt user to verify the command. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCClearDrawingNoPrompt(WORLDHANDLE hW); |
Delphi |
procedure VCClearDrawingNoPrompt(hW: Longint); stdcall; |
ActiveX/COM |
Sub ClearDrawingNoPrompt(ByVal hW As Long) |
Parameters: |
hW - the WORLDHANDLE to reference open drawing worlds. |
Notes: |
Clears the referenced drawing creating a "blank slate" for the user. The command erases all the entities in the drawing but maintains the current settings. Unlike the VCClearDrawing routine, the user is NOT prompted for verification before the drawing is erased. The drawing handle can be retrieved with a VCGetCurrWorld function. |
See Also: |
VCClearDrawing, VCGetCurrWorld, VCNewWorld, VCIsDrawingDirty, VCDestroyWorld |