Using hfss Script as a Plugin

Status
Not open for further replies.

Daniel Waseem

Newbie level 5
Joined
Sep 12, 2014
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
57
So, I have a script that I made for hfss, and would like to add it as a menu bar item (so I do not have to go through tools->runscript). I want to be able to press a button on the toolbar or menu bar and it run the script. How would I go about doing this (if it is possible)?

If it makes a difference, the script is in IronPython.

Thanks in advanced.
 

Hi Daniel,

You cannot place a separate button on the toolbar. But instead you can copy the Python script into the Toolkits folder: C:\Program Files\AnsysEM\AnsysEM15.0\Win64\HFSS\syslib\Toolkits\HFSS.

And then run the Python script from HFSS -> Toolkit.

Thanks,
-sv
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…