|
Python Script Engine
8.0
GL Studio Editor Python Script API
|
Public Types | |
| enum | DWB_Units_e { DWB_UNITS_MM, DWB_UNITS_CM, DWB_UNITS_M, DWB_UNITS_IN, DWB_UNITS_FT } |
Public Member Functions | |
| Group * | Import (String filename, Document doc, bool reposition, bool enableLighting, bool importAsMesh, float scale, DWB_Units_e units) |
Static Public Member Functions | |
| static GlsDWBImporter & | GetInstance (void) |
Plug-in used to import DWB files into GL Studio.
|
static |
| Group* GlsDWBImporter::Import | ( | String | filename, |
| Document | doc, | ||
| bool | reposition, | ||
| bool | enableLighting, | ||
| bool | importAsMesh, | ||
| float | scale, | ||
| DWB_Units_e | units | ||
| ) |
Imports a DWB file using the DWB Importer.
| filename | Name of the file to import |
| doc | Document into which the file should be imported |
| reposition | Flag to determine if the imported objects should be repositioned |
| enableLighting | Flag to determine if lighting should be enabled |
| importAsMesh | Flag to import the file as a mesh |
| scale | Scale to be applied to the newly imported objects |
| units | Unit measurement within the DWB file |
| CEIException |