You are here: User Guide > NukeX > Using ModelBuilder > Exporting Shapes to Separate Geometry Nodes

Exporting Shapes to Separate Geometry Nodes

If necessary, you can export shapes on your ModelBuilder model to separate geometry nodes. This allows you to operate on one part of the scene separately from the rest. You can use the geometry nodes in the same way as any other geometry nodes in Nuke.

To Export Shapes to Separate Geometry Nodes:

1.   In the ModelBuilder properties, select any shapes you want to export to a separate geometry node.
2.   Make sure the bake menu under Export is set to Selected geometry and click Bake.

ModelBuilder creates a geometry node for the selected items in the scene.

TIP:  The options in the bake menu are implemented in Python, and you can also use Python to add your own entries to the menu. To see how the built-in options have been implemented, have a look at the modelbuilder.py module in the nukescripts folder of your installation (for more information on the location of this file, see Viewing More Examples). Then, to create your own menu options, edit the modelbuilder.py file and use the populateBakeMenu function to add entries where it says "# Add your own entries here, if desired".