Electronics

Electronics

Topics relate to HFSS, Maxwell, SIwave, Icepak, Electronics Enterprise and more

Variable Name Renaming in an HFSS Project

    • Ata Vafi
      Subscriber

      I'm looking for how to efficiently rename variable names on the HFSS design file (*.aedt). 
      Currently, the only way I know how to rename these variables is to do it manually, one by one, which can be extremely time-consuming, especially when dealing with numerous variables. Is there a more straightforward method or Python script that can automate this renaming process?
      Thank you for your help!

    • GioF
      Ansys Employee

      Hi,

      The local variables in HFSS can't be renamed in the local variable tab. However, you can create a new variable with a different name and assign the initial variable name as its value. This process can be automated with a Python script. 

      For more information on Variable Property scripting please refer to,

      Ansys Electronics 2023 R2 - Welcome to HFSS Help

Viewing 1 reply thread
  • You must be logged in to reply to this topic.