---
title: "NmosNodeList"
description: "API documentation for NmosNodeList"
url: https://developer.disguise.one/python-api/docs/nmosnodelist/
---

# NmosNodeList

A hierarchical list showing NMOS Nodes, the devices in each node, and the senders and receivers in each device

See also: [D3Net Guide](/plugins/guides/d3net)

Base class (inherits properties and methods): _[MultiLevelList](/python-api/docs/multilevellist#multilevellist)_

## Variables

#### **ITEMTYPE\_DEVICE** : _Final\[[NMOSNodeItemType](/python-api/docs/nmosnodeitemtype#nmosnodeitemtype)\]_ = NMOSNodeItemType.Device

NMOS list item type - this item is a device

#### **ITEMTYPE\_NODE** : _Final\[[NMOSNodeItemType](/python-api/docs/nmosnodeitemtype#nmosnodeitemtype)\]_ = NMOSNodeItemType.Node

NMOS list item type - this item is a node

#### **ITEMTYPE\_RECEIVER** : _Final\[[NMOSNodeItemType](/python-api/docs/nmosnodeitemtype#nmosnodeitemtype)\]_ = NMOSNodeItemType.Receiver

NMOS list item type - this item is a receiver

#### **ITEMTYPE\_SENDER** : _Final\[[NMOSNodeItemType](/python-api/docs/nmosnodeitemtype#nmosnodeitemtype)\]_ = NMOSNodeItemType.Sender

NMOS list item type - this item is sender

#### **LOAD\_ALL** : _Final\[[NmosLoadType](/python-api/docs/nmosloadtype#nmosloadtype)\]_ = NmosNodeList.LOAD\_ALL

Include NMOS nodes, devices, senders and receivers in the node list

#### **LOAD\_DEVICE** : _Final\[[NmosLoadType](/python-api/docs/nmosloadtype#nmosloadtype)\]_ = NmosLoadType.device

Include NMOS devices in the list

#### **LOAD\_NODE** : _Final\[[NmosLoadType](/python-api/docs/nmosloadtype#nmosloadtype)\]_ = NmosLoadType.node

Include NMOS nodes in the list

#### **LOAD\_RECEIVER** : _Final\[[NmosLoadType](/python-api/docs/nmosloadtype#nmosloadtype)\]_ = NmosLoadType.receiver

Include NMOS receivers in the node list

#### **LOAD\_SENDER** : _Final\[[NmosLoadType](/python-api/docs/nmosloadtype#nmosloadtype)\]_ = NmosLoadType.sender

Include NMOS senders in the list

#### **LOAD\_VIDEO\_ONLY** : _Final\[[NmosLoadType](/python-api/docs/nmosloadtype#nmosloadtype)\]_ = NmosLoadType.videoOnly

Only include NMOS senders and receivers of ST2110 video in the list

## Methods

#### **applyFilter**(self, filter: _str_) -> _bool_

Filters the list to show only items matching the filter string  
**Parameters**:

-   filter: the filter string to match against  
    **Returns** true if any items matched the filter

#### **buildList**(self, loadOptions: _[NmosLoadType](/python-api/docs/nmosloadtype#nmosloadtype)_) -> _bool_

Builds the list from the NMOS registry  
**Parameters**:

-   loadOptions: bit flags controlling what to load (use LOAD\_\* constants)  
    **Returns** true if any items were loaded

#### **clear**(self)

Clears all items from the list

#### **handleSelectedItem**(self, mlvItem: _[MultiLevelListItem](/python-api/docs/multilevellistitem#multilevellistitem)_)

Handles selection of an item in the list  
**Parameters**:

-   mlvItem: the item that was selected

#### **listItems**(self) -> _List\[[MultiLevelListItem](/python-api/docs/multilevellistitem#multilevellistitem)\]_

returns all items currently in the list  
**Returns** the array of list items
