Using hfss Script as a Plugin
时间:03-30
整理:3721RD
点击:
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.
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\Toolki ts\HFSS.
And then run the Python script from HFSS -> Toolkit.
Thanks,
-sv