convert_to_selections#
- Modeler3DLayout.convert_to_selections(assignment, return_list=False)[source]#
Convert one or more object to selections.
- Parameters:
- assignment
str
,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. IfTrue
, a list of the selections is returned.
- assignment
- Returns: