This function is equivalent to a series of if statements checking the
item_type
enum value, and calling the more specific session id functions
such as hou.nodeBySessionId(). It allows network items to be treated in a
uniform manner by code that is expected to handle a variety of network item
types.
The item_type
parameter should be one of the hou.networkItemType enum
values, except hou.networkItemType.Connection, which doesn’t support
lookup using a single session id value.
itemBySessionId(item_type, session_id)
→ hou.NetworkMovableItem or None
See hou.NetworkMovableItem.sessionId for more information.
Raises hou.NotAvailable if you call it from MPlay.
See also |