Go to: Synopsis. Return value. Keywords. Flags. MEL examples.

Synopsis

vnn [-flushProxies string] [-libraries string] [-listPortTypes string] [-nodes string string] [-runTimes]

vnn is NOT undoable, queryable, and NOT editable.

This command is used for operations that apply to a whole VNN runtime, for example Bifrost. The Create Node window uses it to build its list of nodes.

Return value

string[]VNN details

In query mode, return type is based on queried flag.

Keywords

Bifrost

Flags

flushProxies, libraries, listPortTypes, nodes, runTimes
Long name (short name) Argument types Properties
-flushProxies(-fp) string createquery
Flush proxies for the named VNN runtime, for example "Bifrost". This is a flag used for developers to ask a given runtime to release all of its proxy VNN nodes so that they can be re-created the next time they are requested. This is used to verify that the VNN graph corresponds to the graph that is being virtualized, or "proxied". The maya node editor or any other UI that uses VNN should be closed before this called is made. Failure to do so will result in that UI failure to recongnize changes made to the VNN graph, because the changes will be made on another set of proxies.
-libraries(-lib) string createquery
List of the libraries in runTime.
-listPortTypes(-lpt) string createquery
List all the possible port types for the given VNN runtime, for example "Bifrost". The list of port types is not fixed and could grow as new definitions are added to the runtime.
-nodes(-nd) string string createquery
List of the nodes from the runTime library. First argument is the name of the runtime, like "Bifrost", second is the name of the library, obtained with -libraries
-runTimes(-rt) createquery
List all the runTimes registered with VNN.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// List all the runTimes registered with VNN.
print "Known VNN Runtimes: ";
print `vnn -runTimes`;
// List all known types
string $alltypes[] = `vnn -listPortTypes Bifrost`;
int $i=0;
for ( $item in $alltypes) {
    print `format -stringArg $i -stringArg $item "#^1s ^2s\n"`;
    $i++;
}