disguise developers

Python API

Execute Python code in Designer sessions to control and query projects programmatically.

NmosNodeList

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

Variables

ITEMTYPE_DEVICE : Final[NMOSNodeItemType] = NMOSNodeItemType.Device

NMOS list item type - this item is a device

ITEMTYPE_NODE : Final[NMOSNodeItemType] = NMOSNodeItemType.Node

NMOS list item type - this item is a node

ITEMTYPE_RECEIVER : Final[NMOSNodeItemType] = NMOSNodeItemType.Receiver

NMOS list item type - this item is a receiver

ITEMTYPE_SENDER : Final[NMOSNodeItemType] = NMOSNodeItemType.Sender

NMOS list item type - this item is sender

LOAD_ALL : Final[NmosLoadType] = NmosNodeList.LOAD_ALL

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

LOAD_DEVICE : Final[NmosLoadType] = NmosLoadType.device

Include NMOS devices in the list

LOAD_NODE : Final[NmosLoadType] = NmosLoadType.node

Include NMOS nodes in the list

LOAD_RECEIVER : Final[NmosLoadType] = NmosLoadType.receiver

Include NMOS receivers in the node list

LOAD_SENDER : Final[NmosLoadType] = NmosLoadType.sender

Include NMOS senders in the list

LOAD_VIDEO_ONLY : Final[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:

buildList(self, loadOptions: NmosLoadType) -> bool

Builds the list from the NMOS registry
Parameters:

clear(self)

Clears all items from the list

handleSelectedItem(self, mlvItem: MultiLevelListItem)

Handles selection of an item in the list
Parameters:

listItems(self) -> List[MultiLevelListItem]

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