blend_editlevel#

viewport.blend_editlevel(p0: int) int#

Specify the level to edit of the corresponding blended background type for the selected viewport(s), i.e. used to edit either the position or color of the level.

Args:
p0:

‘level_num’ specified level number for the blended background type

Examples:
ensight.viewport.select_begin(0)
ensight.viewport.background_type("blended")
ensight.viewport.blend_levels(3)
ensight.viewport.blend_editlevel(1)
ensight.viewport.blend_rgb(1.0000e+00,1.0000e+00,1.0000e+00)
ensight.viewport.blend_editlevel(2)
ensight.viewport.blend_rgb(0.0000e+00,0.0000e+00,1.0000e+00)
ensight.viewport.blend_editlevel(3)
ensight.viewport.blend_position(3.2000e-01)
ensight.viewport.blend_rgb(0.0000e+00,0.0000e+00,0.0000e+00)
Returns:

zero on success, non-zero on error