General Commands > About General Commands > model.savePoint()

model.savePoint()
Manage selections and hide features used by result features.
Syntax
model.savePoint(<tag>).geom(<gtag>)
model.savePoint(<tag>).geom(<gtag>).selection(<stag>)
model.savePoint(<tag>).geom(<gtag>).view(<vtag>)
Description
model.savePoint(<tag>) is a container of selections and hide features used by result features. When solving, a copy of the model is made — a save point model — which is used in results and analysis. The selections and hide features contained in model.savePoint(<tag>) refer to the geometry in this copy.
Editing the data in model.savePoint(<tag>) can only be done in the following circumstances.
In all other circumstances, edit the selections in model.selection(), and the hide features in model.view(). Changes there are synchronized with the data in model.savePoint().
model.savePoint(<tag>).geom(<gtag>) returns a container with selections and views with hide features for a geometry in the save point model.
model.savePoint(<tag>).geom(<gtag>).selection(<stag>) returns a selection.
model.savePoint(<tag>).geom(<gtag>).view(<vtag>) returns a view. Contrary to the views in model.view(), only the hide features in view.hideEntities() can be edited.
See also
model.selection(), model.weak()