import_discovery_model#

Modeler2D.import_discovery_model(input_file: str) → bool#

Import a Discovery file.

Parameters:
input_file

Full path and name of the Discovery file.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.CreateUserDefinedModel

Examples

>>> from ansys.aedt.core import Hfss
>>> app = Hfss()
>>> app.modeler.import_discovery_model(input_file="example.txt")