cursor#
- show_info.cursor(p0: float, p1: float, p2: float) int #
Show corresponding part and values of all active variables at the specified x, y, z model location.
Used in conjunction with the following commands.view_transf: function cursorview_transf: action translateview_transf: cursor- Args:
- p0:
‘x-coord’ x, y, z locations of the cursor in model coordinates
- p1:
‘y-coord’ x, y, z locations of the cursor in model coordinates
- p2:
‘z-coord’ x, y, z locations of the cursor in model coordinates
- Examples:
# # Toggle-on and position the cursor tool # ensight.view_transf.function("cursor") ensight.tools.cursor("ON") ensight.view_transf.action("translate") ensight.view_transf.cursor(-1.0000e+00,0.500000,0.500000) # # Revert back to global transformation mode # ensight.view_transf.function("global") # # Show part and all active variable information at cursor location # ensight.show_info.cursor(-1.0000e+00,0.0000e+00,0.0000e+00)
- Returns:
zero on success, non-zero on error