description#

data_partbuild.description(p0: str) int#

Specifies the textual description for a part.

Args:
p0:

‘desc’ description for the part (it is what is displayed in the user interface)

Examples:
ensight.data_partbuild.begin()
# 
# Doing an unstructured ensight part 
# 
ensight.data_partbuild.data_type("unstructured")
# 
# Selecting the first part in the 
# unstructured part building list 
# 
ensight.data_partbuild.select_begin(1)
# 
# Naming it "my_unstructured_part" 
# and creating it 
# 
ensight.data_partbuild.description("my_unstructured_part")
ensight.data_partbuild.create()
# 
# Now doing a structured ensight part 
# 
ensight.data_partbuild.data_type("structured")
# 
# Selecting the first part in the 
# structured part building list 
# (Note this is not the same part as the 
# unstructured one selected above) 
# 
ensight.data_partbuild.select_begin(1)
# 
# Setting ijk ranges, step_by, delta values, etc. 
# and creating it. 
# 
ensight.data_partbuild.domain("all")
ensight.data_partbuild.noderange_i(1,3)
ensight.data_partbuild.noderange_j(1,3)
ensight.data_partbuild.noderange_k(1,3)
ensight.data_partbuild.nodestep(1,1,1)
ensight.data_partbuild.nodedelta(0,0,0)
ensight.data_partbuild.description("my_structured_part")
ensight.data_partbuild.create()
ensight.data_partbuild.end()
Returns:

zero on success, non-zero on error