Hi Everyone,
Some Basic General Info on JavaScript / PCI
Start with a couple basic instructions in the sequence window:
- Pick a tool
- Pick a cycle
- Move to Toolchange
Select Custom - Command Save On (Auto comments = YES)
right click on the sequence name - Regenerate
Select Custom - Command Save Off
Save file with file extension .js <MyScript.js>
(or .pci if you want the old style)
Delete all instructions in the sequence
Select Custom - Run Command File - Browse to <MyScript.js>
- All instructions / selections are recreated.
*********************
Check out the Edgecam Install folder or under the My Documents\Planit
Edgecam\Cam\Examples\PCI-JavaScript\ folder for examples
Java script can go a lot farther than the .pci command interface.
*********************
lots of programming / script help on the web
for basic javascript command formats.
Thanks, Jim