IC6 Via Manipulation

Guest
Hello,

Andrew Beckett wrote the code below for IC5, it simply takes the Via or Vias selected and allows user to change the column or row. We have it bound to the "roll" on the mouse, ctrl-"roll" for column...

For IC6, this isn't possible I don't think. It appears you have to manipulate the master or something, I can't figure it out.

Anyone have an answer?

Thanks,
PolyPusher


procedure(RowAddRoll(incr)
foreach(selObj geGetSelSet()
when(leIsContact(selObj)
selObj~>row=max((selObj~>row||1)+incr 1)
)
)
);
procedure(ColumnAddRoll(incr)
foreach(selObj geGetSelSet()
when(leIsContact(selObj)
selObj~>column=max((selObj~>column||1)+incr 1)
)
)
);
 
On Tuesday, February 17, 2015 at 10:52:54 AM UTC-6, eric.d.fi...@gmail.com wrote:
Hello,

Andrew Beckett wrote the code below for IC5, it simply takes the Via or Vias selected and allows user to change the column or row. We have it bound to the "roll" on the mouse, ctrl-"roll" for column...

For IC6, this isn't possible I don't think. It appears you have to manipulate the master or something, I can't figure it out.

Anyone have an answer?

Thanks,
PolyPusher


procedure(RowAddRoll(incr)
foreach(selObj geGetSelSet()
when(leIsContact(selObj)
selObj~>row=max((selObj~>row||1)+incr 1)
)
)
);
procedure(ColumnAddRoll(incr)
foreach(selObj geGetSelSet()
when(leIsContact(selObj)
selObj~>column=max((selObj~>column||1)+incr 1)
)
)
);

I figured it out. Ge

procedure(RowAddRoll(incr)
let((vias)
when(vias=setof(obj geGetSelSet() obj~>objType=="stdVia")
foreach(via vias
via~>cutRows=max(1 via~>cutRows+incr)
)
)
)
)

procedure(ColumnAddRoll(incr)
let((vias)
when(vias=setof(obj geGetSelSet() obj~>objType=="stdVia")
foreach(via vias
via~>cutColumns=max(1 via~>cutColumns+incr)
)
)
)
)


;just temp... you all decide where to stick it

hiSetBindKeys( "Layout" list(
list("Shift<Btn4Down>" "RowAddRoll(1)");
list("Shift<Btn5Down>" "RowAddRoll(-1)");
list("Ctrl<Btn4Down>" "ColumnAddRoll(1)");
list("Ctrl<Btn5Down>" "ColumnAddRoll(-1)");
))
 

Welcome to EDABoard.com

Sponsor

Back
Top