OSMImportSettings

OSM import settings.

@example:
# Settings class used to control parameters for OSM import
settings = OSMImportSettings()
ce.importFile(ce.toFSPath("data/osm/sf_marina.osm"), settings)

 

此处定义的方法如下:

getFile

getFile(self):

Gets File field.

@return: Value of File 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.

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]

在本主题中
  1. getFile
  2. load
  3. save
  4. setFile