Python Script Engine
1.0
GL Studio Editor Python Script API
|
Public Member Functions | |
Group * | Import (String filename, Document doc, bool generateNewObjects, bool reposition, float scale, bool forceUseOriginalNames=false) |
void | Import (String filename, Group *grp, bool generateNewObjects, bool reposition, float scale, bool forceUseOriginalNames=false) |
Static Public Member Functions | |
static GlsPSDImporter & | GetInstance (void) |
Plug-in used to import PSD files into GL Studio.
|
static |
Group* GlsPSDImporter::Import | ( | String | filename, |
Document | doc, | ||
bool | generateNewObjects, | ||
bool | reposition, | ||
float | scale, | ||
bool | forceUseOriginalNames = false |
||
) |
Imports a PSD file using the PSD Importer.
filename | Name of the file to import |
doc | Document into which the file should be imported |
generateNewObjects | Flag to determine if the imported objects should be generated as new objects |
reposition | Flag to determine if the imported objects should be repositioned |
scale | Scale to be applied to the newly imported objects |
forceUseOriginalNames | Force the psd importer to use the original names (does not create unique names) |
CEIException |
void GlsPSDImporter::Import | ( | String | filename, |
Group * | grp, | ||
bool | generateNewObjects, | ||
bool | reposition, | ||
float | scale, | ||
bool | forceUseOriginalNames = false |
||
) |
Imports a PSD file using the PSD Importer.
filename | filename of PSD file to import | |
[in,out] | grp | The group to insert the imported geometry into. Must already be in a Document. |
generateNewObjects | Flag to determine if the imported objects should be generated as new objects | |
reposition | Flag to determine if the imported objects should be repositioned | |
scale | Scale to be applied to the newly imported objects | |
forceUseOriginalNames | Force the psd importer to use the original names (does not create unique names) |