Optimize Model

The command Optimize Model opens the dialog Optimize Model. Select one or several of the following optimization options:

  • Clean up class library: This option is always available and looks for classes that are not used in the model file. The option looks for these classes and does not delete them:

    • Each MU class.

    • Worker classes if a used Frame with an inserted WorkerPool exists.

    • Frame classes if they either contain an EventController and at least another object or if an instance thereof is located in a used Frame.

    • Other classes if an instance thereof is inserted in a used Frame.

  • Optimize 3D attribute inheritance: This option is only available in a 2D/3D model or in a 3D only model. It attempts to:

    • Activate inheritance of 3D attributes whose values uniquely match the corresponding value of its origin. Graphics inheritance is never activated.

    • Replace MU animation paths for individual matrix places, with names such as #0#0, etc., with an animation area if this change is possible without a position change of the animation.

  • Optimize 3D graphic structure: This option is only available in a 2D/3D model or in a 3D only model. It applies the optimization setting Flatten structure without applying the setting Keep grouping to all editable graphics.

Then click Optimize to optimize the model with the selected settings.

The command Optimize Model also optimizes a library according to the selected options provided the library is not locked.

Note:

You cannot restore discarded data, so we advise to optimize the model only after you finished creating it. done modeling the object. Optimizing the model improves performance.

We also recommend to save the model under a different name before optimizing it. This way you can return to the state the model had before optimizing it in case the optimized model reports errors or does not meet you expectations.

Related Topic

Optimize Selected Graphic

SimTalk

_3D.optimizeObject