Electronics

Electronics

Create user defined functions in HFSS

TAGGED: , ,

    • ZiadHatab
      Subscriber

      Hi!

      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

Viewing 0 reply threads
  • You must be logged in to reply to this topic.