create#

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

Create a clip part with the currently defined attributes using the currently selected parts as parents.

The clip part is created using the currently selected parts as parents. The clip part is created using the currently set clip attributes.
Examples:
#
# Select a parent part
#
ensight.part.select_begin(2)
ensight.clip.begin()
ensight.clip.domain("inside")
ensight.clip.tool("cylinder")
ensight.clip.origin(-1.,0,1.)
ensight.clip.axis(1,0,0)
ensight.clip.radius(.75)
ensight.clip.end()
ensight.clip.create()
Returns:

zero on success, non-zero on error