pymel.core.general.vnnNode

vnnNode(*args, **kwargs)

The vnnNodecommand is used to operate vnnNode and query its port and connections. The first argument is the full name of the DG node that the VNN node is in. The second argument is the name of the full path of the VNN node.

Flags:

Long Name / Short Name Argument Types Properties
connected / c bool ../../../_images/create.gif
  Used with listPortsto query the connected or unconnected ports.
connectedTo / ct unicode ../../../_images/create.gif
  Used with listConnectedNodesto query the nodes that are connected to the specified ports.
listConnectedNodes / lcn bool ../../../_images/create.gif
  Used to list nodes which are connected to the specified node. The returned result is a list of node names.
listPortChildren / lpc unicode ../../../_images/create.gif
  List the children of specified port.
listPorts / lp bool ../../../_images/create.gif
  List ports on the specified node. Can be used with connectedto determine if the returned ports have connections.
portDefaultValue / pdv unicode, unicode ../../../_images/create.gif
  Set the default value to a node port The port cannot be connected.
queryAcceptablePortDataTypes / qat unicode ../../../_images/create.gif
  Get the list of acceptable types for the given port of an unresolved node. The acceptable types are based on the overloads that match the current defined ports of the node.
queryIsUnresolved / qiu bool ../../../_images/create.gif
  Query if the node is unresolved. A node is considered unresolved if it is part of overload set, and have at least one port that is both unconnected and has an undefined type.
queryPortDataType / qpt unicode ../../../_images/create.gif
  Query the data type of a specified port.
queryPortDefaultValue / qpv unicode ../../../_images/create.gif
  Query the default value of a node port
queryTypeName / qtn bool ../../../_images/create.gif
  Used to query the fundamental type of a node such as runtimeName,libraryName,typeName
setPortDataType / spt unicode, unicode ../../../_images/create.gif
  Set the data type of a specified port. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.vnnNode