scale_factor#

elevsurf.scale_factor(p0: float) int#

Specifies the scale factor to apply to the variable for the elevated surface.

Args:
p0:

‘scale’ scale factor to apply to variable values

Examples:
#
# Select existing elevated surface part
#
ensight.part.select_begin(3)
ensight.part.modify_begin()
ensight.elevsurf.variable("N_velocity")
ensight.elevsurf.component(1.0000e+00,0.0000e+00,0.0000e+00)
ensight.elevsurf.scale_factor(9.9660e-01)
ensight.elevsurf.offset(1.5000e+00)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error