plane_nodeid#

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

Create a clip plane defined by the three node ids given. If the node ids move (transient problem) the clip part must continue to follow the node ids defined.

Args:
p0:

‘id1’ the node ids defining the clip plane

p1:

‘id2’ the node ids defining the clip plane

p2:

‘id3’ the node ids defining the clip plane

Examples:
#
# Select the parent part
#
ensight.part.select_begin(2)
ensight.clip.begin()
#
# Create a finite clip plane
#
ensight.clip.select_default()
ensight.part.modify_begin()
ensight.clip.type("mesh")
ensight.clip.domain("intersect")
ensight.clip.extents("infinite")
ensight.clip.tool("plane")
ensight.clip.plane_nodeid(2016,3040,3025)
ensight.part.modify_end()
ensight.clip.create()
Returns:

zero on success, non-zero on error