import_primitives_from_file#
- Modeler3D.import_primitives_from_file(input_file=None, primitives=None)[source]#
Import and create primitives from a JSON file or dictionary of properties.
- Parameters:
- Returns:
list
List of created primitives.
Examples
>>> from ansys.aedt.core import Icepak >>> aedtapp = Icepak() >>> aedtapp.modeler.import_primitives_from_file(r'C:\temp\primitives.json')