i need script to create bus, like to create 'n' no. of paths with 'x' width & 'y' spacing between them.
Thanks in advance.
Is it posible for you to switch to Layout Turbo? because there you will find some nice tools for buses (create, merge reshape bus)
you just need to setup your leTBrules which is also easily done by using the built-in rulefile utility. Once you have done this you can activate the turbo toolbox.
Hi Avinash, Another way to do this is with a MultiPart Path (MPP). You can create one interactively using the Create -> Multipart path menu then press F3 to make sure that the options form is visible. You define the "master path" and then the others would be offset subpaths that you add the details for using the "Subpart" button on the main "Create Multipart Path" form. You can test the path interactively and modify it until you get it right. Once you are happy with it, you can save this to a template so that you don't have to repeat all the work again. The MPP can be created through SKILL using a call to the rodCreatePath() function. If you saved the interactive MPP to an ASCII file, you can re-use much of this structure to build the arguments to the rodCreatePath() function. Then you could write a SKILL function around the call to the rodCreatePath function where you can pass in "n" the number of bus bits to create. This master path could still be digitized (using an enterPath() function), see the CCSslotMetal.il example for details on the approach, solution 11252132 (it may not be visible for a short while, it has just been updated.)I'm sure that there are other solutions on this... Regards, Lawrence.
In reply to skillUser:
In reply to avinash1skill:
You can flatten a multipart path down to its constituent parts making them individually available for editing. If the path is made to be choppable, I believe that some parts could be choppable whilst others are not, so you might be able to Chop parts of the path without needing to flatten the MPP. For a bus, if you wanted different lengths, say at the end of the path after drawing or stretching the path, the offset subpaths could each have different begin/end offsets and even different widths - the sub-parts of a Multi-Part Path can have different attributes, they do not all have to be uniform at all.
Here is the link to Solution 11252132
I hope that this helps,