![]() |
MKI_DrawingNewFile (Drawing) Changed in Version 2020.0 |
www.CAD6.com |
C++ Syntaxbool MKI_DrawingNewFile( __int32 f_nOpenFlags, bool f_fPrompt );
Creates a new drawing by loading the default drawing template. The new drawing is untitled.
ParametersOpenFlags New in Version 2013.2 [__int32] Bit-wise OR combination of flags that determine which sections of the drawing template are to be loaded, see MKI_FILEMODE_*. Normally, this flag should be set to MKI_FILEMODE_USERSECTIONS only, thus using the current default settings. If not altered by the user, these default settings include all sections. Prompt [bool] If this value is true, the function checks whether the drawing to be deleted has changed since last saving. If so, a dialog appears allowing the user to save the "old" drawing first.
Return ValueReturns true if successful. If false is returned, the "old" drawing was changed and the user did not allow it to be removed (with or without saving).
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH