displace_factor#
- part.displace_factor(p0: float) int #
Specifies the displacement factor to be applied to the source variable to calculate displacement for the currently selected part(s).
The displacement factor can be changed before or after the part: displace_by command is issued.- Args:
- p0:
‘disp_factor’ the scaling factor that will be applied to the displacement values.
- Examples:
ensight.part.select_begin(1) ensight.part.modify_begin() ensight.part.displace_factor(0.9) ensight.part.displace_by("pressure") ensight.part.modify_end()
- Returns:
zero on success, non-zero on error