AlignStaticModelSettings

Static model align settings.

@example:
# Settings class used to control parameters for AlignStaticModels operation
staticModelLayer = ce.getObjectsFrom(ce.scene, ce.isStaticModelLayer, ce.withName("'Landmarks'"))
settings = AlignStaticModelsSettings()
heightmap = ce.getObjectsFrom(ce.scene, ce.isMapLayer, ce.withName('Heightmap'))[0]
settings.setHeightmapLayer(heightmap)
ce.alignStaticModels(staticModelLayer, settings)

 

Methods defined here:

getHeightmap

getHeightmap(self):

Gets Heightmap field. Specifies the heightmap to align to. Use "y = 0" for alignment to X-Z plane.
@deprecated: Only for legacy scripts, use getHeightmapLayer instead.

@return: Value of Heightmap field. [str]

getHeightmapLayer

getHeightmapLayer(self):

Gets HeightmapLayer field. Specifies the heightmap to align to. Use "y = 0" for alignment to X-Z plane.

@return: Value of HeightmapLayer field.  [str]

getOffset

getOffset(self):

Gets Offset field. Y-Offset to be added to the aligned vertices.

@return: Value of Offset field.  [float]

setHeightmap

setHeightmap(self, stringValue):

Sets Heightmap field. Specifies the heightmap to align to. Use "y = 0" for alignment to X-Z plane.
@deprecated: Only for legacy scripts, use setHeightmapLayer instead.

@param stringValue: the new value.  [str]

setHeightmapLayer

setHeightmapLayer(self, stringValue):

Sets HeightmapLayer field. Specifies the heightmap to align to. Use "y = 0" for alignment to X-Z plane.

@param stringValue: the new value. [str]

setOffset

setOffset(self, floatValue):

Sets Offset field. Y-Offset to be added to the aligned vertices.

@param floatValue: the new value. [float]