begin#

material.begin() int#

Delimit the modifications for material part attributes.

Examples:
#
# Select the parent part
#
ensight.part.select_begin(1)
#
ensight.material.begin()
#
# create a domain type material part
#
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