angle#

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

Set the angle for a cone clip.

Args:
p0:

‘cone_angle’ the cone angle in degrees

Examples:
#
# Select the parent part
#
ensight.part.select_begin(1)
ensight.clip.begin()
ensight.clip.domain("intersect")
ensight.clip.tool("cone")
ensight.clip.origin(0,0,0)
ensight.clip.axis(1,0,0)
#
# Set the cone to 20 degrees
#
ensight.clip.angle(20.)
ensight.clip.end()
ensight.clip.create()
Returns:

zero on success, non-zero on error