Skip To Content

SHPExportShapeSettings

Shapefile shape export settings.

@example:
# Settings class used to control parameters for exporting shapes to SHP
lots = ce.getObjectsFrom(ce.scene, ce.withName("LotSouth*"))
exportSettings = SHPExportShapeSettings()
exportSettings.setFilename(ce.toFSPath("data/batchExportTests/lotssouth.shp"))
ce.export(lots, exportSettings)

 

Methods defined here:

get3DOptions

get3DOptions(self):

Gets 3DOptions field.

@return: Value of 3DOptions field.  ["NONE", "POLYGONZ", "MULTIPATCH"] [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", "POLYGONZ", "MULTIPATCH"]. [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:

MULTIPATCH = 'MULTIPATCH'
NONE = 'NONE'
POLYGONZ = 'POLYGONZ'