DataObject.saveToFile Method
Parent Object:
DataObjectDefined in namespace "adsk::core" and the header file is <Core/Dashboard/DataObject.h>
Description
Saves the data represented by the DataObject to a file.
Syntax
"dataObject_var" is a variable referencing a DataObject object.returnValue = dataObject_var.saveToFile(filename)
|
"dataObject_var" is a variable referencing a DataObject object.
#include <Core/Dashboard/DataObject.h>
returnValue = dataObject_var->saveToFile(filename);
|
Return Value
boolean |
Returns true if the save was successful. |
Parameters
filename |
string |
The full filename to save the file to. This includes the full path and the filename. The folder must already exist and you are responsible for specifying the correct extension to match the file type. |
Version
Introduced in version September 2024