Skip to content
Discussion options

You must be logged in to vote

Hi @erikajob91,

Thanks for opening this discussion.
Right now we don't have any feature in PyAEDT that allows you to export the history tree of your model.
What we do have is the method export_config that exports the current design properties to a JSON or TOML file.
This method export all your model's information, including objects info (without history).

You can export the history of an object as a json like:

import json
with open(output_file, "w") as outfile:
     json.dump(your_object.jsonalize_tree(), output_file)

but right now PyAEDT import_config doesn't read this json.

Hope this helps,

Kind regards,

Giulia

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Samuelopez-ansys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants