update_geometry_property#

Modeler2D.update_geometry_property(assignment, name=None, value=None)#

Update property of assigned geometry objects.

Parameters:
assignmentstr, or list

Object name or list of object names to be updated.

namestr, optional

Property name to change. The default is None, in which case no property is updated. Available options are: "display_wireframe", “material”`, and “solve_inside”`.

valuebool or str, optional

Property value. The default is None in which case no value is assigned.

Returns:
bool

True when successful, False when failed.