change_text_property#

ModelerTwinBuilder.change_text_property(assignment, name, value)#

Change an oeditor property.

Parameters:
assignmentstr

Object id.

namestr

Name of the property. For example, Text.

valuestr, list, int

Value of the property. It can be a string, an int for a single value, a list of three elements for [r,g,b] color values or a list of two elements for [x, y] coordinates.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.ChangeProperty