# Reduction using ReductionProcessor

This section includes an example of how to use the Simplygon Python API to optimize the scene. Note that some of these API examples can be done using Pipelines, if some features are not exposed in Pipelines or that some custom behavior is required then Simplygon API is the way to go.

The first part exports the selected Maya scene to file. The second part sets up a reduction processor and optimizes the previously saved scene. The third part imports the processed scene back into Maya. The export and import could be done manually if preferred.