It looks like you're new here. If you want to get involved, click one of these buttons!
Hi Sir,
in my case , over 50000 cells into current view , so I just want to get the bbox(or instance point) for some of cell that been user selected ,
may I know how to do that in Ruby DRC?
as below code , I can't get the result...
if any command or nows , please let me know.
Thanks very much.
mw = RBA::Application::instance::main_window
view = mw.current_view
sel = view.object_selection
sel.each do |xxxx|
puts xxxx.bbox
end
view.object_selection = sel
Comments
How, no idea.
I think so too ... but why DRC?
Hi Matthias,
I have no idea/powerful for fully Ruby coding.
so , I always using DRC +Ruby to do what I need.
in this case , I want to make line /path connect between some part of bump which is I selected.
as below , the code can help me to do the daisy chain loop .
But , that is not very smart ,I still need to connect some of bump pad , one by one.
That is reason I want to export some of instance point (position of cell origin)
and code the result to make Dpath.
Maybe that is not good way , but that is what the way I can do ....:P
Hello JW,
This topic interests me. The code insure the connection between 2 bumps if the distance under 600.
I imagine, maybe manually sorting can be skipped if the jugde condition be more solid. It will be fun if you
can share the criteria for bumps to be connected or not.
Hi @Vincent Lin
In other code , I using all the bump coordinate and do-loop to finished almost chain loop.(bump count >10000)
after the code (process all the bump) I still need to manual process chain group around ~200.
Cause I have process almost bump cell , it is why I using this odd flow ---manually chooses the bumps which not been process in first step and filter some connnect base on the bump distance by 600um.
@jiunnweiyeh
I'm a bit confused because initially you meant selected instances, but from the DRC script you do something with "interact" and work on shapes ...
Anyway, here is a script that lets you select instances and connects their centers if below a certain threshold. Note that this is not a DRC script but a Ruby macro. It provides undo/redo support and you can configure it to show up as a menu item:
This script gives me this in one example of mine:
Matthias
@Matthias
Thanks a lot , It is workabe.