WebSceneShareSettings

Web Scene Share Settings.

@example:
ce.setSceneCoordSystem("EPSG:26954")
exportSettings = WebSceneShareSettings()
exportSettings.setSceneName('myScene')
exportSettings.setUrl(URL)
exportSettings.setUsername(username)
exportSettings.setPassword(password)
exportSettings.setMergeLayers(False)
print(exportSettings.getSceneName())
print(exportSettings.getUrl())
print(exportSettings.getUsername())
print(exportSettings.getPassword())
print(exportSettings.getMergeLayers())
scenarioObjects = ce.getObjectsFrom(ce.scene, ce.withScenario('Scenario 1', True))
ce.export(scenarioObjects, exportSettings)

 

Methods defined here:

getAccess

getAccess(self):

Gets Access field. See the Portal REST API for a description of this property.

@return: Value of Access field.  ["PRIVATE", "SHARED", "ORGANIZATION", "PUBLIC"] [str]

getMergeLayers

getMergeLayers(self):

Gets MergeLayers field. Merging layers within group layers simplifies the hierarchy in the web scene. Recommended for large scenes.

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

getPassword

getPassword(self):

Gets Password field. The Portal password.

@return: Value of Password field.  [str]

getSceneName

getSceneName(self):

Gets SceneName field. Name of the web scene.

@return: Value of SceneName field.  [str]

getUrl

getUrl(self):

Gets Url field. The Portal url.

@return: Value of Url field.  [str]

getUsername

getUsername(self):

Gets Username field. The Portal username.

@return: Value of Username field.  [str]

setAccess

setAccess(self, enumValue):

Sets Access field. See the Portal REST API for a description of this property.

@param enumValue: the new value ["PRIVATE", "SHARED", "ORGANIZATION", "PUBLIC"]. [str]

setMergeLayers

setMergeLayers(self, booleanValue):

Sets MergeLayers field. Merging layers within group layers simplifies the hierarchy in the web scene. Recommended for large scenes.

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

setPassword

setPassword(self, stringValue):

Sets Password field. The Portal password.

@param stringValue: the new value. [str]

setSceneName

setSceneName(self, stringValue):

Sets SceneName field. Name of the web scene.

@param stringValue: the new value. [str]

setUrl

setUrl(self, stringValue):

Sets Url field. The Portal url.

@param stringValue: the new value. [str]

setUsername

setUsername(self, stringValue):

Sets Username field. The Portal username.

@param stringValue: the new value. [str]

Constants

This class defines the following constants:

ORGANIZATION = 'ORGANIZATION'
PRIVATE = 'PRIVATE'
PUBLIC = 'PUBLIC'
SHARED = 'SHARED'