change_text_property#

ModelerTwinBuilder.change_text_property(property_id, property_name, property_value)[source]#

Change an oeditor property.

Parameters:
property_idstr

Object id.

property_namestr

Name of the property. For example, Text.

property_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