I'm attempting to automate a lot of action in OrCAD Capture CIS (16.5) and am looking for guidance. I want to through the use of terminal switches and Tcl scripts do the following. If I have a DSN file I'd like to run a build script (outside of Capture) that will call Capture, run the DRC, run the netlist utility, and run the BOM utility.
A little background, I'm running Windows 7 with OrCAD Capture CIS 16.5. I control my schematic DSN files in git and would like to do the above so that whenever I checkout a DSN I can run this script quickening the file generation process and elminating error from me clicking around.
I've been reading the OrCAD Tcl documentation (the 400+ page file in the install directory) though the library commands are a bit confusing lacking description. I've been reading through code but I'm stagnating.
At first I was hoping to just open the windows command prompt and run Capture with arguments such as the DSN and switches to run netlist / bom / drc with some config file. I couldn't find documentation supporting any features like this though, so Tcl within Capture seems viable...
Any tips on how I should go about implenting this?