Database copy

S

Shankar

Guest
Hi,
I wanted to copy selected objects using a SKILL script. However new
copied objects does not have the pin properties. Can you tell me how to
copy objects with its properties in SKILL

Rgds,
Shankar
 
It is not a matter of properties. You should test wether the shape is associated with a pin and if
yes, create the pin in the destination cellview.

newFig = dbCopyFig(fig cv2 list(0:0 "R0"))

when(fig~>pin
let( (
(term dbFindTermByName(cv2 fig~>pin~>term~>name))
(net dbMakeNet(cv2 fig~>pin~>term~>net~>name))
)

;; create the terminal if needed
unless( term term=dbCreateTerm(net fig~>pin~>term~>name fig~>pin~>term~>direction) )

;; create pin
dbCreatePin( net newFig )
) ; let
) ; when

hope this helps

stéphane

Shankar wrote:
Hi,
I wanted to copy selected objects using a SKILL script. However new
copied objects does not have the pin properties. Can you tell me how to
copy objects with its properties in SKILL

Rgds,
Shankar
 

Welcome to EDABoard.com

Sponsor

Back
Top