FastFieldSolvers Forum
FastFieldSolvers Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
 All Forums
 FastFieldSolvers
 FasterCap and FastCap2
 Automation to run .lst files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

migai

2 Posts

Posted - Nov 04 2016 :  07:07:16  Show Profile  Reply with Quote
Hello. Question is: is it possible to run .vbs script automation on .lst files, or only on .qui files?
I've tried modifying the example .vbs file provided, and can run it on simple .qui files I've made, but not on simple .lst files I've made (and that run properly in the FastModel gui).
I've tried simple insertion of the .lst file name in place of the .qui file name, and the .vbs execution proceeds without crashing, but gives me no capacitance matrix, and acts as if it doesn't load the .lst file. ("couldRun" boolean from the example is True, but ".IsRunning" is False immediately after that statement from the example .vbs file)

Is there a special syntax to use for FastCap2.Run("""xxx.lst""") for example?
I tried putting a "-" in front, and removing the extra quotes as in the FastCap2 help topic for method FastCap2Object.Run, but this causes a "server error" to be returned on my command line.

Thank you for your time and help!
Mike

migai

2 Posts

Posted - Nov 04 2016 :  20:10:32  Show Profile  Reply with Quote
Nevermind, I think I found how to format it...
couldRun = FastCap2.Run("""-l"+path+"xxx.lst""")

This seems to work.
Thank you anyway.
Go to Top of Page

Enrico

545 Posts

Posted - Nov 05 2016 :  00:41:51  Show Profile  Reply with Quote
Yes, that's it: list files are specified with the '-l' switch, as specified in the FastCap user's guide.

Best Regards,
Enrico
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
FastFieldSolvers Forum © 2020 FastFieldSolvers S.R.L. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.06