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
Truewhen successful,Falsewhen failed.
References
>>> oEditor.CreateUserDefinedModel
Examples
>>> from ansys.aedt.core.modeler.cad.primitives import GeometryModeler >>> obj = GeometryModeler() >>> obj.import_discovery_model(input_file="example.txt")