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 …
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 da…
@Matthias
After check the code , that can't work.
even I select the polygon (select it by manual) first then run this code..
I also can puts the value #{chamfer_radius}
my Klayout version is 0.27.3 , is it issue?
Hi @dick_freebird
I mean that I want to make chamfer in all the outter corner ,if that is <= 90 degree.
I knew we have a tool named "round corner" , it is workable for all the corner (inner corner / outter corner)
But now , I just want…
Hi Matthas,
After check , clip should not what the function I need , or maybe I have some miss for the script.
As below , I using begin_shapes_rec_overlapping... to get what the pattern in special layer and where the place in the BBox.
that is what …
Hi Matthias,
checked with the notice of clip , look like it is what I need , but could you please pass me a sample?
as below , I want to make all the pattern within the bbox area into a cell , and make it named "CELL_IO".
in the document …
hi @tomas2004
Thanks your reply , I can't make path use following code.. I just make a 1 um path from 0,0 to 15,15.
currentname = RBA::Application::instance.main_window.current_view.active_cellview.cell_name layout = RBA::CellView.active.la…
@Matthias
May I know how to draw a path by Ruby code?
I knew how to create a box in ruby , such as "top.shapes(l1).insert(RBA::Box::new(-10000, 1, 10000, -1))"
but , what code for the path ?
I tried
top.shapes(l1).insert(RBA::Path::n…
@BenyBar
Hope this will been helpful
metal=input(74,0) ###input metal layervia=input(86,0) ###input viahalf_enough_width_value4_vias=5.0.micron ##this is what the metal width enought for 2 vias.with1viametal=metal.interacting(via,2) ##finding…
@Matthias
Here was my code , I can make choose as a list.
But I can't get the result...I means that I can't get what the cell name been choose.
layoutView = RBA::Application::instance.main_window.current_view.active_cellview.layoutdialog = RBA::QD…
@Matthias
Got it , Thanks your help ,
as this code , I can choose 1 cell in list only , how can I choose multi cell in the list?
(even I clicked the cell item with "Shift" key , I still can't select multi -cell in the list....)
And , how…
@mathine
Thanks for your answer , I will check it.
Do you have idea for how to make a cellS inputer?
As this code , I can enter 1 cell in input only. how to make multi input ?(I have many cells need to process...)
LayoutView = RBA::Application::in…
@Matthias
after change the code , it still get same result...(Image)
class MenuAction < RBA::Action def initialize( title, shortcut, &action ) self.title = title self.shortcut = shortcut @action = action end def triggered …
@Matthias
Could you please help to check how to do "replace" in Ruby?
I knew that some explain in your document.
Signature: Instance replace (const Instance instance, const CellInstArray cell_inst_array)
But that code below is not wo…
@Matthias
Could you please help to check that how to remove a cell if get it from begin_instances_rec_overlapping ?
as below code , I can get cell (include cell name / location...) after that command.
then I want to remove (delete) that cell.
But t…
Hi Matthias,
After change the code as ..
ly = RBA::CellView.active().layout()# equivalent of "a = input(7, 0)"layer_a = ly.layer(94, 0)ubm = RBA::Region(ly.top_cell().begin_shapes_rec(layer_a))layer_b = ly.layer(71, 0)die = RBA::Region(ly…
as this code , I can open GDSII file , but I can't copy cell (in the SMEE file) into current library
input_file = "D:\\SMEE.gds"mw = RBA::Application::instance.main_windowmw.load_layout(input_file, 1)view = mw.current_viewcell = view.acti…
Hi Matthias,
Thanks. it is workable.
by the way , do you have idea for that ?
1.read a GDS file from network path (it maybe //etc/library/gds/module.gds)
2.copy the cell named "module-1" from the file from item1 into current library.
how t…
Hi Sir,
Thanks very much for your code.
I still using (Ruby) DRC scripts to do that and get same result after modify some of code.
the key will be ly.get_info(layer_index) in this case.
But , May I know how to get the layer name (not layer number /…
Hi tomas2004/Matthias
If I want to copy a cell instance from gds file into current library, and that gds file location in NAS
such as //Nas/path/1.gds
that cellname is "frame"
in my idea , our designer always need to ....
1.open a new li…