Matthias,
Thank you for isolating the error in my code, per your advice it is working correctly now...
I also made another code change by changing the '-' characters in the layer names to '_' after getting errors when loading the generated netlist…
Per your feedback I updated the code to move the shape from one "Shapes" container to another and delete the original shapes afterwards:
if _layname.match(/BACKDRILL_/) _begin_cnt = 0 _top_cell.each_shape(_drl_…
Hi Matthias,
Thank you for the feedback, which was very helpful.
I just found a new issue where I need your advice:
I am getting the error: NoMethodError: undefined method `position' for #
however in the previous lines of code I have: if _ts.is_tex…
Hi Matthias,
I apologize for not including enough info for you to understand the issues I am seeing...
First - the screen capture of the Macro Development window below shows that when I continue the breakpoint at line 483 goes to line 491, skippin…
Never mind, I downloaded the tool source & found examples in the testdata/ruby folders
below is a summary of the code changes to the script I am working on:
_rdb = RBA::ReportDatabase.new(_filename) _rdb.top_cell_name=_cell.name _cat1 = _r…
Thank you for your feedback, after updating the the code per your feedback the label locations are probed correctly :)
I added the following code to help isolate where the short is occurring:
_tracer.trace(_tech, _layout, _cell, _pt,…
Yes, that answers my question
I actually updated my code so as it generates the l2n connectivity it writes a .lyt file that can be loaded afterwords.
Thanks...
Getting back to the original issue...
I have gotten my initial data input script to call the next script automatically, as shown below:
script 1 code:
_layout = _mw.load_layout(_PcbFile,1) _lv = RBA::LayoutView.current if _lv != nil …
It's my understanding that the majority of PCB's are still built using Gerber, drill and IPC-D-356 files.
In the late 1990's the Valor ODB++ format became the preferred data format since fabricators can read the data directly instead of adjusting/…
I finally realized the failure message was pointing out the error in my code...
I moved the extract_netlist() call before the build_all_nets() call & it works correctly now
I updated the use a hash for the mapping between the layout and netlist,
however the script fails with the message:
The netlist has not been extracted yet in LayoutToNetlist::build_all_nets
I am sending a test-case zip file containing 4 gerber art…