Shapefile graph export settings.
@example:
# Settings class used to control parameters for exporting graphs to SHP
graph = ce.getObjectsFrom(ce.scene, ce.withName("'StreetnetworkSouth'"))
exportSettings = SHPExportGraphSettings()
exportSettings.setFilename(ce.toFSPath("data/batchExportTests/graphsouth.shp"))
ce.export(graph, exportSettings)
Methods defined here:
get3DOptions
get3DOptions(self):
Gets 3DOptions field.
@return: Value of 3DOptions field. ["NONE", "POLYLINEZ"] [str]
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]
set3DOptions
set3DOptions(self, enumValue):
Sets 3DOptions field.
@param enumValue: the new value ["NONE", "POLYLINEZ"]. [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]
Constants
This class defines the following constants:
NONE = 'NONE'
POLYLINEZ = 'POLYLINEZ'