skill function to change instances

M

Morris Howell

Guest
How can I change a set of selected vias to one particular via? For
example, let's say I select multiple instances of via1, via2 and/or via3
and I want to change them all to instances via1. Is there a way to do
this with skill?
 
Morris, I believe what you are looking for is changing the master of
the instance

ex. select instance :

aa =car(geGetSelSet()) this returns the pointer for the object you
selected

aa~>master this should give pointer for the present master

newmasterCV =dbOpenCellViewByType( your new cell name goes here)
aa~>newmasterCV this sets the new master for the instance



hope this helps

David Reynolds

Morris Howell wrote:
How can I change a set of selected vias to one particular via? For
example, let's say I select multiple instances of via1, via2 and/or via3
and I want to change them all to instances via1. Is there a way to do
this with skill?
 
aa~>newmasterCV returns nil

DReynolds wrote:
Morris, I believe what you are looking for is changing the master of
the instance

ex. select instance :

aa =car(geGetSelSet()) this returns the pointer for the object you
selected

aa~>master this should give pointer for the present master

newmasterCV =dbOpenCellViewByType( your new cell name goes here)
aa~>newmasterCV this sets the new master for the instance



hope this helps

David Reynolds

Morris Howell wrote:

How can I change a set of selected vias to one particular via? For
example, let's say I select multiple instances of via1, via2 and/or via3
and I want to change them all to instances via1. Is there a way to do
this with skill?
 
Morris, my apologies... a typo on my part.. try this

aa~>master =newmasterCV should set it


David

Morris Howell wrote:
aa~>newmasterCV returns nil

DReynolds wrote:
Morris, I believe what you are looking for is changing the master of
the instance

ex. select instance :

aa =car(geGetSelSet()) this returns the pointer for the object you
selected

aa~>master this should give pointer for the present master

newmasterCV =dbOpenCellViewByType( your new cell name goes here)
aa~>newmasterCV this sets the new master for the instance



hope this helps

David Reynolds

Morris Howell wrote:

How can I change a set of selected vias to one particular via? For
example, let's say I select multiple instances of via1, via2 and/or via3
and I want to change them all to instances via1. Is there a way to do
this with skill?
 

Welcome to EDABoard.com

Sponsor

Back
Top