Database.getDBBasename


getDBBasename()

Returns Model filename without path or extension, e.g. if model is saved as "C:\temp\myModel.mdl", this function returns "myModel" In almost all circumstances it is better to use the standard token "%ModelName%" in place of calling this function. E.g. use savePicture("%ModelName%.bmp") All of modeller's file handling functions expect and expand tokens of this form automatically

Argumentsnone 
Return valuestringModel name

See also getDBFilename, getDBFilenameNoExtension

Back to Database

Back to Overview