Modeler3D.convert_to_selections(objtosplit, return_list=False)#

Convert one or more object to selections.

objtosplitstr, 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.

str or list

String or list of the selections.