Main Content
setOutputDir
Specify folder
Syntax
cgvObj
.setOutputDir('path
')
cgvObj
.setOutputDir('path
',
'overwrite', 'on'
)
Description
is
an optional method that specifies a location where the object writes
the output and metadata files for execution. cgvObj
.setOutputDir('path
')
is
a handle to a cgvObj
cgv.CGV
object.
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 path
setOutputDir
,
the object uses the current working folder.
includes
the property and value pair to allow read-only files in the working
directory to be overwritten. The default value for cgvObj
.setOutputDir('path
',
'overwrite', 'on'
)'overwrite'
is
.'off'