end_subsetdesc#

subset.end_subsetdesc() int#

Encloses the information for parent part number, nodes, and elements for a subset part.

Args:
p0:

‘num’ Parent part number of the subset part. Place it on the line with the keyword “part_num”, as shown in the example.

p1:

‘nodes_string’ List of nodes to include in the subset part. Place the keyword “nodes” on a line, then place this string on subsequent lines. Note that the list is a comma separated list of node ids which can also include dash separated ranges of nodes.

p2:

‘elements_string’ List of elements to include in the subset part. Place the keyword “elements” on a line, then place this string on subsequent lines. Note that the list is a comma separated list of element ids which can also include dash separated ranges of elements.

Examples:
ensight.subset.begin()
ensight.subset.begin_subsetdesc()
#WARNING: the following line failed to translate because the function could not be found in the ensight python module
#   Actual error: module 'ensight' has no attribute 'part_num'
ensight.sendmesg(r"part_num 1 ")
#WARNING: the following line failed to translate because the function could not be found in the ensight python module
#   Actual error: module 'ensight' has no attribute 'nodes'
ensight.sendmesg(r"nodes ")
#WARNING: the following line failed to translate because the function could not be found in the ensight python module
#   Actual error: module 'ensight' has no attribute '_13,1-10,103,104,200-3000'
ensight.sendmesg(r"13,1-10,103,104,200-3000 ")
#WARNING: the following line failed to translate because the function could not be found in the ensight python module
#   Actual error: module 'ensight' has no attribute 'elements'
ensight.sendmesg(r"elements ")
#WARNING: the following line failed to translate because the function could not be found in the ensight python module
#   Actual error: module 'ensight' has no attribute '_20-30,100-200,355'
ensight.sendmesg(r"20-30,100-200,355 ")
ensight.subset.end_subsetdesc()
ensight.subset.end()
ensight.subset.create()
Returns:

zero on success, non-zero on error