Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DeleteImportData to PyAEDT #5418

Open
FgPy93 opened this issue Nov 12, 2024 · 1 comment
Open

Add DeleteImportData to PyAEDT #5418

FgPy93 opened this issue Nov 12, 2024 · 1 comment
Labels
enhancement New features or code improvements

Comments

@FgPy93
Copy link

FgPy93 commented Nov 12, 2024

Description of the feature

To delete solution data which came from table imports I currently use the following in HFSS:

osolution = pyaedt_app.osolution

solution = "solution_name"
osolution.DeleteImportData(solution)

This is neccessary to prevent the programm from crash when try to import solution data with the same name again. Therefore if the "same" solution is about to get imported again first the "old" one which got the identical name needs to be deleted.

Currently solved via IronPython command. But major drawback that for updatng the internal registry needs a save_project() which can take time for larger projects. The need to save to refresh internal entries after a deletion is the major problem.

Steps for implementing the feature

No response

Useful links and references

No response

@FgPy93 FgPy93 added the enhancement New features or code improvements label Nov 12, 2024
@FgPy93
Copy link
Author

FgPy93 commented Nov 12, 2024

@Samuelopez-ansys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements
Projects
None yet
Development

No branches or pull requests

1 participant