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

The Save as Python Script dialog box opens.

2.      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?