TAGGED: ansys-hfss, hfss
-
-
March 3, 2023 at 10:59 am
ZiadHatab
SubscriberHi!
I want to create a user defined function that I can evaluate inside variables. For example, I want to create a dieletric constant profile that uses logical statements and for-loops. So, basically, I want to script a function within HFSS and call it later inside a variable, similar as if I'm calling any built-in function (e.g., max(), tan(), abs() .... ), but now my function: myFunction().ÂI looked in the scripting help menu, but I couldn't understand it. I would appreciate a simple working example. I'm programming primarily in Python, but I don't mind other programming languages as my custom function uses basic logic statmemt and for-loops and some simple math expressions.ÂThanks!
Ziad -
April 14, 2023 at 6:50 am
Chinmay Telkikar
Forum ModeratorHello,
Please note that PyAEDT comes under open source, so we would like to advise you to post in Git Hub under discussions. You can post your query in the following link - Discussions · pyansys/pyaedt · GitHub.
Thanks,
Chinmay
-
Viewing 1 reply thread
- The topic ‘Create user defined functions in HFSS’ is closed to new replies.
Ansys Innovation Space
Trending discussions
Top Contributors
-
3692
-
1313
-
1158
-
1075
-
1013
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.