Main Content


Specify folder


cgvObj.setOutputDir('path', 'overwrite', 'on')


cgvObj.setOutputDir('path') is an optional method that specifies a location where the object writes the output and metadata files for execution. cgvObj is a handle to a cgv.CGV object. path is the absolute or relative path to the folder. If the path does not exist, the object attempts to create the folder. If you do not call setOutputDir, the object uses the current working folder.

cgvObj.setOutputDir('path', 'overwrite', 'on') includes the property and value pair to allow read-only files in the working directory to be overwritten. The default value for 'overwrite' is 'off'.