HFSS Python - Command Line
时间:03-30
整理:3721RD
点击:
I am trying to catch command line arguments passed to my python script in hfss from a terminal. I found in the documentation that in VBScript, these command line arguments are stored in a AnsoftScriptHost.arguments collection. I am trying to figure out what the equivalent to this is in python.
Thanks in advance for the help.
Thanks in advance for the help.
It's called "ScriptArgument"
Hey thanks, worked like a charm. If you don't mind me asking, where did you find that information? Or was it trial and error?
It is available in the hfss scripting guide. You could find it from the Help menu or just search the doc folder under the installation directory.