TAGGED: ansys-2019-r3, command-line, scripting
-
-
June 14, 2021 at 9:09 am
vinayshetty
SubscriberI have a VB script to design a metasurface.
But it is taking more than 10 days to load the script into Ansys HFSS.
I realised that one could load the vb script into HFSS in non Graphical mode in the beta version of the 2019R3 version to make the process fast.
But I am unable to understand how to do that using the command line.
If there is any clear step by step process to do that (since I have never used this process), could you please help me?
June 17, 2021 at 9:13 amvinayshetty
SubscriberHi, I have found some information in the below mentioned link
/forum/discussion/9696/vbscripting-ansys-hfss
But I am unable to used the command prompt for using the below command
"C:\Program Files\AnsysEM\AnsysEM19.5\Win64\ansysedt.exe" -features=beta -ng -runscriptandexit script_name.py aedt_file_name.aedt
Could any one clarify few things
Where should I save my VBS script and aedt file before executing the above command in command prompt
June 17, 2021 at 10:24 amAndyJP
Subscriber//sorry, ignore this. it is exactly what you mean.
June 17, 2021 at 10:29 amAndyJP
Subscriber>Where should I save my VBS script
In Windows, like in DOS, there is a concept of current directory. so you don't need a path when changing the dir with DIR in console, or batch script. In case if you are a unix user.
June 17, 2021 at 12:49 pmvinayshetty
SubscriberHi, AndyJP.
I still didn't understand.
Could you please give me a step by step process of executing/loading the VBS script of a large structure in HFSS using the command prompt ( Windows 10) in nongraphical mode?
Thanks in advance
Vinay
June 17, 2021 at 4:31 pmAndyJP
Subscriberas I said, I did not try it, just know what you already know. But when you see C:\Path\ansysedt.exe" -someparameter -anotherparameter file1 file2, that simply means that file 1, and file2 should be in the same directory, and you should execute the program from that directory as current directory. It is not linux, you don't have to provide the fullpath, or put it in a specific place, unless the program is really weird. the program itself is with path, because it is not in the PATH search list of Win/DOS. P.S. in dos console (cmd) the directory change command is the same, "cd c:\..." just the delimiter "\" is opposite.
June 18, 2021 at 1:19 pmPraneeth
Ansys Employee
Please go through "Running ANSYS Electronics Desktop from a Command Line" section in the HFSS help document for detailed information about your query.
All the very best.
Viewing 6 reply threads- The topic ‘How to load VB script into HFSS in Non-graphical mode’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- Y wiring method and the start and end points of winding.
- Lumped Port Deembed
- Optimizing Via Impedance in Ansys HFSS 3D Layout Using Geometric Parameter Sweep
- Hfss 3D pcb via capped and filled with epoxy
- AEDT Natural Convection with default correlation is failing solver initializatio
- HFSS libnvidia-ml.so too old or could not be found – Warning in slurm job output
- Three-Phase Voltage Imbalances in dual stator electric generator
- STL Import Errors in HFSS After Cleaning in SpaceClaim
- Calc Error in Field Calculator after PyAEDT Analyze
- import file autocad 3d
Top Contributors-
3892
-
1414
-
1241
-
1118
-
1015
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-