MKI_FileSetCurrentFile (File I/O) New in Version 2012.0

www.CAD6.com

C++ Syntax

void

MKI_FileSetCurrentFile(

 const LPCWSTR f_pszFileName );

 

Sets the "current" filename for all following file operations. This is useful to enable the location of referenced drawings and bitmaps without paths or with relative paths during import.

 

This function does NOT change the current filename saved for the current drawing in the application, but only effects file location services! To alter the current drawing's associated file name, use MKI_DrawingSetInfo instead.

 

Parameters

FileName

[const LPCWSTR] Address of the current file's name including full path.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH