DXFImportSettings

CityEngine 2024.0    |    |  

DXF import settings.

@example:
# Settings class used to control parameters for DXF import
settings = DXFImportSettings()
ce.importFile(ce.toFSPath("data/batchExportTests/lots.dxf"), settings)
ce.importFile(ce.toFSPath("data/batchExportTests/graph.dxf"), settings)

 

Methods defined here:

getFile

getFile(self):

Gets File field.

@return: Value of File field.  [str]

getOffset

getOffset(self):

Gets Offset field.

@return: Value of Offset field.  [sequence of float]

getScale

getScale(self):

Gets Scale field.

@return: Value of Scale field.  [float]

load

load(self, name):

Load the named settings from the current scene file.

@param name: The name of the settings to load.  [str]
@return: result.

save

save(self, name):

Save the named settings to the current scene file.

@param name: The name of the settings to save.  [str]

setFile

setFile(self, stringValue):

Sets File field.

@param stringValue: the new value. [str]

setOffset

setOffset(self, floatArrayValue):

Sets Offset field.

@param floatArrayValue: the new value. [sequence of float]

setScale

setScale(self, floatValue):

Sets Scale field.

@param floatValue: the new value. [float]