Generate copy of paths

Guest
Hello friends,

Always I have been facing a problem in drawing a group of paths which
has same direction. Its really time taking process (even more if it
has bends) to measure equal distance between all those paths.
So please can some one share me a skill code which takes the arguments
from the user on the width, layer, spacing between the paths, and the
no of the paths to be drawn. So after running the script if I just
draw one path all the remaining paths has to be drawn depending on the
user arguments. I have been trying on how to implement on this but no
solution.
Is it really possible todo like that. Waiting for the replies from the
experts of this forum.

Thanks in advance,
Cheers,
Sesikala.
ALE.
 
Dear Sesikala,

You could create a multipart path to handle this task.

1. Either by skill (as you request) using ROD (Relative Object
Design), mainly rodCreatePath function.
There is an example of a skill code that generates buses in the ROD
documentation in your cadence install directory:
UNIX> acroread $CDSHOME/doc/roduser/roduser.pdf

Look at Appendix F (code Examples) -> Creating a bus.
Just copy paste the skill code in a file, tweak for your needs and
there you are.

2. Otherwise, you could use the Create Multipart Path command from the
Virtuoso layout editor. Again, the VLE User guide comes with a whole
chapter about the Multipart paths. You could read at: $CDSHOME/doc/
vlehelp/vlehelp.pdf -> Chapter 10 "Creating and Editing Multipart
Paths".

Hope this helps,
Riad.
 
Hi Sesikala,

I think you can use the command enterPath() to grab the list of points
after the user draws the path.
Now you have the list of points in your hand you can do want ever you
want.
ex: Just create another procedure which uses the command dbCreatePath
() and use the list which you got from the enterPath() function.
And do dome calculations to generate the copy of the paths according
to the user arguments which is passed to the function created with
procedure.

Cheers,
Sridhar.
 

Welcome to EDABoard.com

Sponsor

Back
Top