FastFieldSolvers Forum
FastFieldSolvers Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
 All Forums
 FastFieldSolvers
 FasterCap and FastCap2
 Automation - expansion order option not working
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

max79

Germany
2 Posts

Posted - Feb 07 2010 :  23:45:35  Show Profile  Reply with Quote
Hi all,

I'm trying to use automation with VBScript and cscript command on Windows Vista. Unfortunately, I cannot add the expansion order option to the command line. According to the help file of FastCap, it should work like this: FastCapObject.Run("-lspheres.lst -o3").
In my case:
-this works fine:
couldRun = FastCap2.Run("""-l" + path + "SpuleFC.lst""")

-this stops with an error:
couldRun = FastCap2.Run("""-o4 -l" + path + "SpuleFC.lst""")
or
couldRun = FastCap2.Run("""-l" + path + "SpuleFC.lst -o4""")
--> Microsoft VBScript runtime error: Subscript out of range: '[number: 0]'

Any ideas how to solve this? I appreciate any replies or hints.

Max79

Enrico

550 Posts

Posted - Apr 05 2010 :  23:31:58  Show Profile  Reply with Quote
You misplaced the "

Try using

couldRun = FastCap2.Run("-l""" + path + "SpuleFC.lst"" -o4")


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