Your Products have been synced, click here to refresh
I am trying to insert the script into my program. I start to type script and it gives me this line of code:CS1 =SCRIPT/FILENAME= C:\USERS\CMM\DESKTOP\AUTOARCHIVE.BAS FUNCTION/Main,SHOW=YES,,, STARTSCRIPT/Hmmm. This is the same way it appears when I use the script. I don't get an ENDSCRIPT/ line in my edit window. I don't know why NinjaBadger's example has that. At any rate, it still executes properly for me. It might have been something that has changed in the newer software versions.
I noticed that in ninja badger's code he has "ENDSCRIPT/" inserted after his start script but when I try and type "ENDSCRIPT" nothing pops up. Am I doing something wrong here? When I try and run my program, the file doesn't get routed to the selected folder I have in the script unless I press F9 on the line of code and hit the run button to the far right of the screen. Is there a way that I can insert this script code into a program and have it run automatically and send it to my requested directory without having to press F9 to run it each time?I don't know why it wouldn't run automatically when that command is executed in the measuring routine. The only thing I can think of is that when you insert a Basic Script command, PC-DMIS will automatically un-mark it (Skip it during execution). Make sure you have the command Marked. You can toggle it by putting the cursor on the command and hit F3.
I am trying to insert the script into my program. I start to type script and it gives me this line of code:CS1 =SCRIPT/FILENAME= C:\USERS\CMM\DESKTOP\AUTOARCHIVE.BAS FUNCTION/Main,SHOW=YES,,, STARTSCRIPT/Hmmm. This is the same way it appears when I use the script. I don't get an ENDSCRIPT/ line in my edit window. I don't know why NinjaBadger's example has that. At any rate, it still executes properly for me. It might have been something that has changed in the newer software versions.
I noticed that in ninja badger's code he has "ENDSCRIPT/" inserted after his start script but when I try and type "ENDSCRIPT" nothing pops up. Am I doing something wrong here? When I try and run my program, the file doesn't get routed to the selected folder I have in the script unless I press F9 on the line of code and hit the run button to the far right of the screen. Is there a way that I can insert this script code into a program and have it run automatically and send it to my requested directory without having to press F9 to run it each time?I don't know why it wouldn't run automatically when that command is executed in the measuring routine. The only thing I can think of is that when you insert a Basic Script command, PC-DMIS will automatically un-mark it (Skip it during execution). Make sure you have the command Marked. You can toggle it by putting the cursor on the command and hit F3.
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |