Web Scene Share Settings.
@example:
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:
getMergeLayers
getMergeLayers(self):
Gets MergeLayers field. Merge layers inside group layers. (Doesn't apply to terrain layers.).
@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. The name of the scene to export.
@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]
setMergeLayers
setMergeLayers(self, booleanValue):
Sets MergeLayers field. Merge layers inside group layers. (Doesn't apply to terrain layers.).
@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. The name of the scene to export.
@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]