create#

sepattach.create() int#

Create separation and attachment line parts using the currently selected 2D parts and defined attributes.

This feature is different from other features in that it creates two parts, i.e. a separation line part, and an attachment line part. In addition, both of these parts are modified with any command change applied to either one or both of these parts.
Examples:
#
# Specify the 2D parent part(s) from which
# to create the separation and attachment lines
#
ensight.part.select_begin(2,3)
#
# Compute the separation and attachment lines parts
#
ensight.sepattach.begin()
ensight.sepattach.end()
ensight.sepattach.create()
#
# Now select the newly created separation and 
# attachment line parts for subsequent operations
#
ensight.part.select_begin(6,7)
Returns:

zero on success, non-zero on error