load_templates#
- Service.load_templates(json_file_path: str) None #
Load templates given a JSON-formatted file. There will be some interactive inputs if required.
- Parameters:
- json_file_path
str
Path of the JSON file to be loaded.
- json_file_path
- Returns:
- None.
Examples
import ansys.dynamicreporting.core as adr adr_service = adr.Service(ansys_installation=r'C:\Program Files\ANSYS Inc\v232') adr_service.connect(url='http://localhost:8020', username = "admin", password = "mypassword") adr_service.load_templates(r'C:\tmp\my_json_file.json')