HFSS Python - Command Line

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
Activity points
57
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.
 

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.


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?
 

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