FGDBImportSettings

File GDB import settings.

@example:
# Settings class used to control parameters for GDB (Esri File Geodatabase) import
settings = FGDBImportSettings()
ce.importFile(ce.toFSPath("data/gdb/philadelphia/CityData.gdb"), settings)

 

此处定义的方法如下:

getCreateBlockLotShapesFromGraph

getCreateBlockLotShapesFromGraph(self):

Gets CreateBlockLotShapesFromGraph field.

@return: Value of CreateBlockLotShapesFromGraph field.  [True/False]

getCreateStreetIntersectionShapesFromGraph

getCreateStreetIntersectionShapesFromGraph(self):

Gets CreateStreetIntersectionShapesFromGraph field.

@return: Value of CreateStreetIntersectionShapesFromGraph field.  [True/False]

getFile

getFile(self):

Gets File field.

@return: Value of File field.  [str]

getImportAndMapAttributes

getImportAndMapAttributes(self):

Gets ImportAndMapAttributes field.

@return: Value of ImportAndMapAttributes field.  [True/False]

getImportDatabaseSchemeAndRelationships

getImportDatabaseSchemeAndRelationships(self):

Gets ImportDatabaseSchemeAndRelationships field.

@return: Value of ImportDatabaseSchemeAndRelationships field.  [True/False]

getImportTextures

getImportTextures(self):

Gets ImportTextures field.

@return: Value of ImportTextures field.  [True/False]

getRunGenerateBridgesToolAfterImport

getRunGenerateBridgesToolAfterImport(self):

Gets RunGenerateBridgesToolAfterImport field.

@return: Value of RunGenerateBridgesToolAfterImport field.  [True/False]

getRunGraphCleanupToolAfterImport

getRunGraphCleanupToolAfterImport(self):

Gets RunGraphCleanupToolAfterImport field.

@return: Value of RunGraphCleanupToolAfterImport field.  [True/False]

getRunSimplifyGraphToolAfterImport

getRunSimplifyGraphToolAfterImport(self):

Gets RunSimplifyGraphToolAfterImport field.

@return: Value of RunSimplifyGraphToolAfterImport field.  [True/False]

getUseSelectionQueryAndSpatialEnvelope

getUseSelectionQueryAndSpatialEnvelope(self):

Gets UseSelectionQueryAndSpatialEnvelope field.

@return: Value of UseSelectionQueryAndSpatialEnvelope field.  [True/False]

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]

setCreateBlockLotShapesFromGraph

setCreateBlockLotShapesFromGraph(self, booleanValue):

Sets CreateBlockLotShapesFromGraph field.

@param booleanValue: the new value. [True/False]

setCreateStreetIntersectionShapesFromGraph

setCreateStreetIntersectionShapesFromGraph(self, booleanValue):

Sets CreateStreetIntersectionShapesFromGraph field.

@param booleanValue: the new value. [True/False]

setDatasetFilter

setDatasetFilter(self, datasetPaths):

Set a list of dataset paths to include in the import. If empty (= default), all valid datasets will be imported.

@param datasetPaths: List of case-sensitive dataset paths (using forward slash as delimiter), e.g. ['/MyFeatureDatataset/Parcels'] .

setFile

setFile(self, stringValue):

Sets File field.

@param stringValue: the new value. [str]

setImportAndMapAttributes

setImportAndMapAttributes(self, booleanValue):

Sets ImportAndMapAttributes field.

@param booleanValue: the new value. [True/False]

setImportDatabaseSchemeAndRelationships

setImportDatabaseSchemeAndRelationships(self, booleanValue):

Sets ImportDatabaseSchemeAndRelationships field.

@param booleanValue: the new value. [True/False]

setImportQueryAndEnvelope

setImportQueryAndEnvelope(self, sqlQuery, env = None, loc = None):

Set import SQL query and spatial envelope.

@param sqlQuery: The SQL query, e.g. 'OBJECTID > 10' . [str]
@param env: The spatial envelope with syntax (xMin, yMin, width, height). By default, the full extent of the dataset will be imported. (default  = None). [sequence of float]
@param loc: The anchor point of the spatial envelope. Valid values are: ['nw'=NorthWest, 'n'=North, 'ne'=NorthEast, 'e'=East, 'se'=SouthEast, 's'=South, 'sw'=SouthWest, 'w'=West, 'c'=Center]. By default, 'sw' is used. (default  = None). [str]

setImportTextures

setImportTextures(self, booleanValue):

Sets ImportTextures field.

@param booleanValue: the new value. [True/False]

setRunGenerateBridgesToolAfterImport

setRunGenerateBridgesToolAfterImport(self, booleanValue):

Sets RunGenerateBridgesToolAfterImport field.

@param booleanValue: the new value. [True/False]

setRunGraphCleanupToolAfterImport

setRunGraphCleanupToolAfterImport(self, booleanValue):

Sets RunGraphCleanupToolAfterImport field.

@param booleanValue: the new value. [True/False]

setRunSimplifyGraphToolAfterImport

setRunSimplifyGraphToolAfterImport(self, booleanValue):

Sets RunSimplifyGraphToolAfterImport field.

@param booleanValue: the new value. [True/False]

setUseSelectionQueryAndSpatialEnvelope

setUseSelectionQueryAndSpatialEnvelope(self, booleanValue):

Sets UseSelectionQueryAndSpatialEnvelope field.

@param booleanValue: the new value. [True/False]