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

Make material_override a Boolean property of the application. #5614

Open
Devin-Crawford opened this issue Dec 28, 2024 · 0 comments
Open

Make material_override a Boolean property of the application. #5614

Devin-Crawford opened this issue Dec 28, 2024 · 0 comments
Assignees
Labels
enhancement New features or code improvements

Comments

@Devin-Crawford
Copy link
Contributor

Description of the current limitations

The syntax currently used to change material override is unnecessarily complicated:
hfss.change_material_override(material_override=True)
It is not intuitive that the default behavior of the method change_material_override() is to set material override
to True.

It would be more intuitive and pythonic to make this a property of the application:
hfss.material_override = True

Code sample expected

Add a property to the Design class.
See the method change_material_override in \aedt\core\application\design.py.

Useful links and references

No response

@Devin-Crawford Devin-Crawford added the enhancement New features or code improvements label Dec 28, 2024
@Devin-Crawford Devin-Crawford self-assigned this Dec 28, 2024
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