zclip_back#
- view_transf.zclip_back(p0: float) int #
Sets the position of the back/front z-clip plane
This value is used only when “view_transf: zclip_float” is OFF. Since transformations can be different per viewport, this can be set for each viewport, thus a viewport selection is needed if more than one viewport is being used.- Args:
- p0:
‘z_loc’ z coordinate of the back/front z-clipping plane
- Examples:
# # Select viewport # ensight.viewport.select_begin(1) # # Set z-clip float OFF and set the location # the front and back clipping planes # ensight.view_transf.zclip_float("OFF") ensight.view_transf.zclip_front(7.2296e+00) ensight.view_transf.zclip_back(3.5459e+01)
- Returns:
zero on success, non-zero on error