convert_to_selections#

Modeler3DLayout.convert_to_selections(assignment, return_list=False)#

Convert one or more object to selections.

Parameters:
assignmentstr, int, list

One or more objects to convert to selections. A list can contain both strings (object names) and integers (object IDs).

return_listbool, option

Whether to return a list of the selections. The default is False, in which case a string of the selections is returned. If True, a list of the selections is returned.

Returns:
str or list

String or list of the selections.