select_byname_end#

material.select_byname_end() int#

Delimit material name selection.

Examples:
#
# Select the parent part
#
ensight.part.select_begin(1)
#
ensight.material.begin()
#
# create a domain type material part using materials matl_02 and matl_03
#
ensight.material.type("domain")
ensight.material.subdivide("2")
#
# use the two materials shown
#
ensight.material.select_byname_begin("matl_02","matl_03")
ensight.material.end()
ensight.material.create()
Returns:

zero on success, non-zero on error