select_byexpr_begin#

part.select_byexpr_begin(args: Any) int#

Selects parts using an expression.

Is used in command files only, i.e., EnSight does not generate these commands
Args:
p0:

‘exprN’ part expression (partial name with asterisk(s))

Examples:
ensight.part.select_byexpr_begin("flui*","soli*")
ensight.part.modify_begin()
ensight.part.reduce_polygons_factor(1)
ensight.part.reduce_polygons("ON")
ensight.part.modify_end()
Returns:

zero on success, non-zero on error