To save any Marionette network or node as a Python script:
Right-click (Windows) or Ctrl-click (Mac) on the node or network and select Save Marionette Script as Python Script from the context menu.
The Save as Python Script dialog box opens.
Specify the file name and destination, and then click Save.
Saving a Marionette network as a Python script is recommended for advanced users as a method for debugging scripts that are not working correctly.
To create a customized library of Marionette nodes:
Create a symbol for each node, with the node in the symbol, as described in Creating Symbol Definitions. Name the symbol with the name of the node it contains. Select Convert to Plug-in Object to create a red symbol.
Save the file of symbols in your user folder, in the Libraries/Defaults/Marionette folder.
Any Marionette network, node, or object can be converted into a red symbol for ease of sharing and reuse. This allows you to share or reuse potentially complex scripts with less experienced users, opening up the possibility of creating and sharing custom plug-in objects.
Place the network symbol in a wrapper node to use the network contained within the symbol. Multiple object node red symbols with complex networks can affect computer performance.
An object node can also be converted to a black symbol for reuse. This allows you to share a Marionette-created object with other users without easily allowing access to the original script.
See Concept: Vectorworks Symbols for more information.
~~~~~~~~~~~~~~~~~~~~~~~~~