set_object_model_state#

Modeler2D.set_object_model_state(obj_list, model=True)[source]#

Set a list of objects to either models or non-models.

Parameters:
obj_listlist

List of objects IDs or names.

modelbool, optional

Whether to set the objects as models. The default is True. If False, the objects are set as non-models.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.ChangeProperty