DesignSeries00022.pngSaving and Exporting Marionette Networks

Saving a Network as a Python Script

Command

Path

Save Marionette Script as Python Script

Context menu

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 save any Marionette network or node as a Python script:

  1. Select the command.

  2. The Save as Python Script dialog box opens.

  3. Specify the file name and destination, and then click Save.

Saving Nodes and Networks

Any Marionette network, node, or object can be converted into a red symbol for ease of sharing and reuse. This allows you to reuse or share potentially complex scripts with less experienced users, opening up the possibility of creating and sharing custom plug-in objects.

To create a customized library of Marionette nodes:

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

  2. Save the file of symbols in your user folder, in the Libraries/Defaults/Marionette folder.

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.

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

Marionette Node Types

Inserting a Node with the Marionette Tool

Marionette Networks

Marionette Wrapper Nodes

Creating Menu Commands from Wrapper Nodes

Using Object Nodes

Marionette Tutorial: Creating a Simple Extrude

Marionette Tutorial: Creating a Simple Cabinet

 

Was this page helpful?