elt_shrink_factor#

part.elt_shrink_factor(p0: float) int#

Specifies a scaling factor (fraction) by which to shrink every element toward its centroid.

Args:
p0:

‘scale_factor’ shrinkage factor which must be within the range of 0.0 to 1.0. The default is 0.0 for no shrinkage. If set to 1.0, elements will completely disappear.

Examples:
ensight.part.select_begin(1)
ensight.part.modify_begin()
ensight.part.elt_shrink_factor(0.5)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error