bounding_rep#

part.bounding_rep(p0: str) int#

Specifies the type of fast-display representation used to for the currently selected part(s).

For reduced, uses factor as set by part: reduce_polygons_factor <factor>.
Args:
p0:

‘type’

  • Can have any of the following values:

  • OFF

  • box

  • points

  • sparse_model

  • reduced

  • invisible

Examples:
ensight.part.select_begin(1)
ensight.part.modify_begin()
ensight.part.bounding_rep("sparse_model")
ensight.part.modify_end()
Returns:

zero on success, non-zero on error