scale_factor#

profile.scale_factor(p0: float) int#

Apply a scale factor to the variable values of the profile.

Args:
p0:

‘value’ scale factor to apply to the variable values

Examples:
#
# Select existing profile part
#
ensight.part.select_begin(3)
ensight.part.modify_begin()
ensight.profile.offset(3.0000e+00)
ensight.profile.scale_factor(1.5000e+01)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error