thanks for your reply and thank you for the script. I agree about the age of the code. I was hoping there might have been some update to it based on its age and the ubiquitousness of the application.
I would like to enhance the form input to accept user defined bus widths without limitation, and to define the slots as holes with user-defined widths, lengths, and spacing (these inputs can be used to create the subrectangles alternatively). In addition, the number of slots per width of bus would be a function of the bus width. In effect, the slotted metal bus will maximize metal area while meeting the required slotting rules to serve slotting purposes. Currently the slots are oversized as defined. Ideally, it would also remain a path object with these parameters form-customizeable.....which sounds a lot like a pcell. So, short of making a slotted metal pcell, I'm looking for an enhanced script with more flexibility vis-a-vis form input fields for its variables.