Vexus Editor \ Nodes Reference

Scripts

Previous Next

 

These nodes extend the capabilities of Vexus by giving users the ability to create and use custom scripts and nodes.

 


 

Page Contents

oCustom MXS Node

oMaxscript Snippet

oMaxscript Token

oPython Snippet

oScript File

 


 

Custom MXS Node

The CustomMXSNode gives users and studios the ability to create their own custom graph nodes. They can customize both, the nodes UI and the code executed for that node using maxscript. The default node demonstrates a simple example of how to create a custom set of controls and have those values applied to scene objects. For more information see Creating a CustomMXSNode.

 

Code Parameters

 

Select Input Nodes

Selects the objects connected to this node. This makes it possible for the code within the node to work on the current objects.

 

Code

The code that gets executed.

 

Output Node Selection

Outputs the node selection if available. The node selection can be created from within the code simply by selecting the nodes via code.

 

Parameters

Users can expose any number of parameters to the users. These controls can contain strings, boolean, integers, floats, etc. These values can then be accessed from the code, allowing users to control the values that eventually get applied in the code.

 


 

Maxscript Snippet

This node executes maxscript code. If the user wants to create a script which affects the objects plugged into this node, make sure the script works on the current selection. For more information check out Using Script Snippets.

 

Parameters

 

Select Input Nodes

Selects the objects connected to this node. This makes it possible for the code within the node to work on the current objects.

 

Code

The code that gets executed.

 

Output Node Selection

Outputs the node selection if available. The node selection can be created from within the code simply by selecting the nodes via code.

 


 

Maxscript Token

This node executes maxscript code which then can set the value for a defined Token.

For more information see Setting a Token Using Maxscript.

 

Parameters

 

Token Name

The name of the Token that will contain the value created by the script. The token is used to access the value.

 

Code

The code that gets executed must return a value. This value is what the Token will be set as.

 


 

Python Snippet

This node executes python code. If the user wants to create a script which affects the objects plugged into this node, make sure the script works on the current selection. For more information check out Using Script Snippets.

 

Parameters

 

Select Input Nodes

Selects the objects connected to this node. This makes it possible for the code within the node to work on the current objects.

 

Code

Python code that will be executed.

 

Output Node Selection

Outputs the node selection if available. The node selection can be created from within the code simply by selecting the nodes via code.

 


 

Script File

This node executes maxscript or python script files. If the user wants to create a script which affects the objects plugged into this node, make sure that within the script, it works on the current selection.

 

Parameters

 

Select Input Nodes

Selects the objects connected to this node. This makes it possible for the code within the node to work on the current objects.

 

Script

The full file path to the script file.

 

Output Node Selection

Outputs the node selection if available. The node selection can be created from within the code simply by selecting the nodes via code.

 

 


 

Copyright © 2019 Boomer Labs and JokerMartini

http://boomerlabs.com/vexus