purge_history#

Modeler2D.purge_history(assignment, non_model=False)#

Purge history objects from object names.

Parameters:
assignmentlist

List of object names to purge.

non_modelbool, optional

Convert new parts to non-model objects. The default is False.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.PurgeHistory

Examples

>>> from ansys.aedt.core import Hfss
>>> app = Hfss()
>>> cylinder1 = hfss.modeler.create_cylinder(orientation="X", origin=[5, 0, 0], radius=1, height=20)
>>> aedtapp.modeler.purge_history(assignment=cylinder1)