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
Used with listPortsto query the connected or unconnected ports. connectedTo / ct unicode
Used with listConnectedNodesto query the nodes that are connected to the specified ports. listConnectedNodes / lcn bool
Used to list nodes which are connected to the specified node. The returned result is a list of node names. listPortChildren / lpc unicode
List the children of specified port. listPorts / lp bool
List ports on the specified node. Can be used with connectedto determine if the returned ports have connections. portDefaultValue / pdv unicode, unicode
Set the default value to a node port The port cannot be connected. queryAcceptablePortDataTypes / qat unicode
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
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
Query the data type of a specified port. queryPortDefaultValue / qpv unicode
Query the default value of a node port queryTypeName / qtn bool
Used to query the fundamental type of a node such as runtimeName,libraryName,typeName setPortDataType / spt unicode, unicode
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