Skip To Content

DXFExportShapeSettings

DXF shape export settings.

@example:
# Settings class used to control parameters for exporting shapes to DXF
lots = ce.getObjectsFrom(ce.scene, ce.withName("'Lots'"))
exportSettings = DXFExportShapeSettings()
exportSettings.setFilename(ce.toFSPath("data/batchExportTests/lots.dxf"))
ce.export(lots, exportSettings)

 

Methods defined here:

getExportLog

getExportLog(self):

Returns a dictionary containing details of the export.

@return: A dictionary containing details about the finished export.

getFilename

getFilename(self):

Gets Filename field. Path to the export location.

@return: Value of Filename field.  [str]

getScript

getScript(self):

Gets Script field. Python script to use for export callbacks.

@return: Value of Script field.  [str]

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. [DXFExportShapeSettings]

save

save(self, name):

Save the named settings to the current scene file.

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

setFilename

setFilename(self, stringValue):

Sets Filename field. Path to the export location.

@param stringValue: the new value. [str]

setScript

setScript(self, stringValue):

Sets Script field. Python script to use for export callbacks.

@param stringValue: the new value. [str]