DesignSeries00018.pngSaving and Exporting Networks

Saving a Network as a Python Script

To save any Marionette network or node as a Python script:

  1. Right-click (Windows) or Ctrl-click (Mac) on the node or network and select Save Marionette Script as Python Script from the context menu.

  2. The Save as Python Script dialog box opens.

  3. 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.

Converting Marionette Scripts for Reuse

Any Marionette network, node, or object can be converted into a red symbol for ease of sharing and reuse; as a red symbol, the underlying Marionette network can be edited within the symbol from the Resource Browser to change all symbol instances. 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.

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; however, the underlying script is removed from the symbol and only the object remains. This allows you to share a Marionette-created object with other users without allowing access to the original script.

See Symbol Types for more information.

~~~~~~~~~~~~~~~~~~~~~~~~~

Node Types

Inserting a Node with the Marionette Tool

Marionette Networks

Wrapper Nodes

 

vectorworks.net