extents#

clip.extents(*args, **kwargs) Any#

Set the clip extents to infinite or finite.

Grid type clips are always assumed to be finite.
Args:
p0:

‘extent’

  • finite

  • infinite

Examples:
#
# Select the parent part
#
ensight.part.select_begin(2)
ensight.clip.begin()
#
# Create a finite clip plane
#
ensight.clip.tool("plane")
ensight.clip.domain("intersect")
ensight.clip.extents("finite")
ensight.clip.plane(1,-1,-1,0)
ensight.clip.plane(2,1,-1,0)
ensight.clip.plane(3,1,1,0)
ensight.clip.end()
ensight.clip.create()
Returns:

zero on success, non-zero on error