parameters: (pattern="*", index=0, scene=None)
return_statement: return list(nodes.values())[index]
docstring: Return the indexth node where name or id matches ``pattern``.
    By default, ``pattern`` is a wildcard and it returns the first node
    associated with ``slicer.mrmlScene``.
    Throws MRMLNodeNotFoundException exception if no node is found
    that matches the specified pattern.
docstring_summary: Return the indexth node where name or id matches ``pattern``.
    By default, ``pattern`` is a wildcard and it returns the first node
    associated with ``slicer.mrmlScene``.
    Throws MRMLNodeNotFoundException exception if no node is found
    that matches the specified pattern.
docstring_tokens: Return the indexth node where name or id matches pattern . By default pattern is a wildcard and it returns the first node associated with slicer . mrmlScene . Throws MRMLNodeNotFoundException exception if no node is found that matches the specified pattern .
function: def getNode(pattern="*", index=0, scene=None):
    """Return the indexth node where name or id matches ``pattern``.
    By default, ``pattern`` is a wildcard and it returns the first node
    associated with ``slicer.mrmlScene``.
    Throws MRMLNodeNotFoundException exception if no node is found
    that matches the specified pattern.
    """
    nodes = getNodes(pattern, scene)
    if not nodes:
      raise MRMLNodeNotFoundException("could not find nodes in the scene by name or id '%s'" % (pattern if (isinstance(pattern, str)) else ""))
    return list(nodes.values())[index]
function_tokens: def getNode ( pattern = "*" , index = 0 , scene = None ) : nodes = getNodes ( pattern , scene ) if not nodes : raise MRMLNodeNotFoundException ( "could not find nodes in the scene by name or id '%s'" % ( pattern if ( isinstance ( pattern , str ) ) else "" ) ) return list ( nodes . values ( ) ) [ index ]