resetModel

Overview

This function is used to bring the visible model view to the original state including the view angle.

Syntax

simlab.resetModel()

Use Case

  • To reset the model before exporting the model as a solver input file
  • To reset the model before saving the database

Why we need this utility?

When executing an automation script, some parts of the model may get hidden in the process. But the entire model must be visible before exporting the solver input file. For this purpose, we can make use of this utility to reset the model at any part of script. We can also use this utility before saving the database, to make all parts of the model visible when we open the saved database.

Sample