Guest
Hi,
Is it possible to assign net name for a path while drawing path using
dbCreatePath()
Is it possible to assign net name for a path while drawing path using
dbCreatePath()
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
dbAddFigToNet() should do what you want.Is it possible to assign net name for a path while drawing path using
dbCreatePath()
The other thing you could do is use rodCreatePath() which allows you to attachHi Sudha,
The dbAddFigToNet() is documented in the The CadenceŽ Design Framework
II SKILL Functions Reference
UNIX> acroread $CDSHOME/doc/skdfref/skdfref.pdf
You could get a quick reference to this function from the Finder tool
as well, here is what it returns:
dbAddFigToNet(
d_figId
d_netId
)
=> t / nil
Assigns the given figure object to a specified net object. If the
figure is already associated with a different net, the figure will be
detached from that net before being assigned to the given net object.
Basically, you need to fetch the ID a a figure (i.e the id of the
created path) and the Id of a net you want to add the path into.
Simple as that !
This is a quick example as requested to Jean-Marc:
;
myCv=geGetEditCellView()
myPath = dbCreatePath(myCv list("metal1" "drawing") list(0:0 0:2 2:2
2:0) 0.5 "extendExtend")
myNet = dbCreateNet(myCv "MYNET")
dbAddFigToNet(myPath myNet)
;
You could then check the path in question is added to the net either
by checking the connectivity information of the path (Edit Properties
GUI) or by skill using:
myNet~>figs.
Hope it is clear in your mind now !
Regards,
Riad.
Hey Andrew,Riad KACED wrote, on 03/12/09 22:32:
Hi Sudha,
The dbAddFigToNet() is documented in the The CadenceŽ Design Framework
II SKILL Functions Reference
UNIX> acroread $CDSHOME/doc/skdfref/skdfref.pdf
You could get a quick reference to this function from the Finder tool
as well, here is what it returns:
dbAddFigToNet(
d_figId
d_netId
)
=> t / nil
Assigns the given figure object to a specified net object. If the
figure is already associated with a different net, the figure will be
detached from that net before being assigned to the given net object.
Basically, you need to fetch the ID a a figure (i.e the id of the
created path) and the Id of a net you want to add the path into.
Simple as that !
This is a quick example as requested to Jean-Marc:
;
myCv=geGetEditCellView()
myPath = dbCreatePath(myCv list("metal1" "drawing") list(0:0 0:2 2:2
2:0) 0.5 "extendExtend")
myNet = dbCreateNet(myCv "MYNET")
dbAddFigToNet(myPath myNet)
;
You could then check the path in question is added to the net either
by checking the connectivity information of the path (Edit Properties
GUI) or by skill using:
myNet~>figs.
Hope it is clear in your mind now !
Regards,
Riad.
The other thing you could do is use rodCreatePath() which allows you to attach
the newly created path(s) to a specified net name as you create it.
rodCreatePath is essentially a higher level function, and can be used for
multi-part paths as well as single paths.
Regards,
Andrew.- Hide quoted text -
- Show quoted text -
Was there a question in there? I couldn't see one...Hey Andrew,
I suppose that netnames can be assigned to the individual nets with
the ROD Connectivity Arguments. I have made use of rodCreatePath()
funtion. I need to add that functionality. Here is what I have done :
;; Create a shielded path
procedure( shield()
.... snipped
) ; end of procedure