create_delta#
- clip.create_delta(*args, **kwargs) Any #
Specify the delta offset when multiple clip instances will be created.
For XYZ clips, this is a float value in the direction chosen for the XYZ clip. For Plane clips, this is a float value in the plane z direction. For IJK clips, this is should be a whole number representing the number of I, J, or K planes.Requires the use of the clip: number_to_create <instances> command in conjunction with this command.- Args:
- p0:
‘delta’ the delta value to apply to each instance of multiple clips.
- Examples:
# # Select a parent part # ensight.part.select_begin(2) ensight.clip.begin() # # Create a clip at y=1.5 and 4 additional instances at .5 delta # ensight.clip.value(1.5) ensight.clip.create_delta(0.5) ensight.clip.number_to_create(5) ensight.clip.domain("intersect") ensight.clip.tool("xyz") ensight.clip.mesh_plane("Y") ensight.clip.end() ensight.clip.create()
- Returns:
zero on success, non-zero on error