modify_begin#

function.modify_begin(*args, **kwargs) Any#

Groups function attribute commands together before applying them.

Args:
p0:

‘function_commandN’ any of the function commands which modify attributes

Examples:
ensight.function.palette("Stress")
ensight.function.modify_begin()
ensight.function.edit_level(1)
ensight.function.rgb(1.0000e+00,0.0000e+00,0.0000e+00)
ensight.function.edit_level(2)
ensight.function.rgb(1.0000e+00,1.0000e+00,0.0000e+00)
ensight.function.edit_level(3)
ensight.function.rgb(0.0000e+00,1.0000e+00,0.0000e+00)
ensight.function.edit_level(4)
ensight.function.rgb(0.0000e+00,1.0000e+00,1.0000e+00)
ensight.function.edit_level(5)
ensight.function.rgb(0.0000e+00,0.0000e+00,1.0000e+00)
ensight.function.edit_level(6)
ensight.function.rgb(5.0000e-01,0.0000e+00,1.0000e+00)
ensight.function.modify_end()
Returns:

zero on success, non-zero on error