Skip To Content

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()
settings.setHeightmap('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.

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

@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]