trigger.ui.layouts.scene_select

Layout for selecting objects or nodes from the scene

Classes

SceneSelectLayout

Layout for selecting objects or nodes from the scene

Module Contents

class SceneSelectLayout(selection_type='object', single_selection=False, select_button=True, add_button=False, read_only=False, unique=True, *args, **kwargs)

Bases: trigger.ui.Qt.QtWidgets.QHBoxLayout

Layout for selecting objects or nodes from the scene

add()

Add the selection to the current selection.

build()

Build layout.

static list_to_text(list_item)
select()

Select objects or nodes from the scene.

set_selection_type(selection_type)

Set the selection type.

static text_to_list(text_item)
property selection
Return the selection.
selection_types = ['object', 'vertex', 'edge', 'face', 'attribute']