line_nodeid#

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

Create a clip line defined by the two 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 line

p1:

‘id2’ the node ids defining the clip line

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

zero on success, non-zero on error