I have written a waveguide routing routine in Python using a path as input. I wanted it to be general, such that you can specify an arbitrary amount of layers, widths, and offsets from the WG center so implementing slot, ridge, or other more complex designs would be easier.
Because I wanted to define an arbitrary number of layers, I could not (to my knowledge) use a PCell to implement this, but I would still like to be able to resize the waveguide by modifying the underlying path it was made from using the "Partial" command. Is there a way to do this without using a PCell? I have stored the path as a property of the waveguide cell.