fastdisplay_sparse_res#

prefs.fastdisplay_sparse_res(p0: int) int#

Allows specification of the percentage of the model geometry that will be displayed. The default is 50. The range is 1-100 where 1 would be sparse and 100 would be full.

Will help performance but will degrade quality in the graphics window while interactively transforming the model.
Args:
p0:

‘value’ (1-100)

Examples:
ensight.view.fast_display("ON")
ensight.prefs.static_fast_display("ON")
ensight.prefs.fastdisplay_sparse_res(75)
ensight.part.select_begin(1,3,4)
ensight.part.modify_begin()
ensight.part.bounding_rep("sparse_model")
ensight.part.modify_end()
Returns:

zero on success, non-zero on error