interactive_part#

anim_flipbook.interactive_part(p0: str) int#

Specify the start and stop of the recording of interactive movement of any specified isosurface or clip parts during a flipbook load.

Currently this operation only works for interactive manipulation of isosurface and 2D clip parts. Used in conjunction with the following commands:
part: select_begin
part: select_end
part: modify_begin
part: modify_end
anim_flipbook: dynamic_value
anim_flipbook: dynamic_line
anim_flipbook: dynamic_plane
anim_flipbook: dynamic_plane
anim_flipbook: move_dynamic_plane
Args:
p0:

‘option’ start

p1:

‘option’ stop

Examples:
#
# (Note: A clip part has already been generated via the
#        XYZ clip part feature and colored by a variable.)
#
# Update the 2D clip part clip at 
#
ensight.part.select_begin(2)
ensight.part.modify_begin()
ensight.clip.mesh_plane("X")
ensight.clip.tool("xyz")
ensight.clip.value(1.000000)
ensight.part.modify_end()
#
# Specify type of flipbook
#
ensight.anim_flipbook.load_type("create_data")
#
# Setup interactive flipbooking of the clip part
#
ensight.anim_flipbook.interactive_part("start")
ensight.part.select_begin(2)
ensight.part.modify_begin()
ensight.clip.value(3.000000)
ensight.part.modify_end()
ensight.anim_flipbook.dynamic_value(2,1.000000,3.000000)
ensight.anim_flipbook.interactive_part("stop")
#
# Load 10 flipbook pages
#
ensight.anim_flipbook.number_to_create(10)
ensight.anim_flipbook.load()
#
# Run loaded flipbook pages
#
ensight.anim_flipbook.run_type("auto")
Returns:

zero on success, non-zero on error