reduce_polygons_factor#

part.reduce_polygons_factor(p0: int) int#

Set the polygon reduction factor.

Used only if reduce_polygons is ON
If no polygons were removed during the process the original geometry will be shown.
Args:
p0:

‘factor’ 0 (less) to 10 (more) controlling the number of polygons

Examples:
ensight.part.select_begin(1)
ensight.part.modify_begin()
ensight.part.reduce_polygons_factor(1)
ensight.part.reduce_polygons("ON")
ensight.part.modify_end()
Returns:

zero on success, non-zero on error