F
fogh
Guest
Hi All,
One of you has probably ready-made so code for this:
Assuming that cds.lib reaches every schematic that can possibly instance the symbol dbsymcv, dbsymcv has a pin figure F (only one)
- get wires points P1 that overlap F , across all schematics instancing dbsymcv.
- check that centerBox(F->bBox) is also connecting (overlapping pin any purpose).
After that, I am going to snap the pin to a new grid, move PO1 to the center of the pin, and modify the whole wire accordingly.
Feel free to give me hints about
- coordinate transformations (how do you do the inverse tranformation ? Is there a quick way to get them in toplevel view ? ... )
- stretching/reshaping wires.
Regards,
--
Frederic
One of you has probably ready-made so code for this:
Assuming that cds.lib reaches every schematic that can possibly instance the symbol dbsymcv, dbsymcv has a pin figure F (only one)
- get wires points P1 that overlap F , across all schematics instancing dbsymcv.
- check that centerBox(F->bBox) is also connecting (overlapping pin any purpose).
After that, I am going to snap the pin to a new grid, move PO1 to the center of the pin, and modify the whole wire accordingly.
Feel free to give me hints about
- coordinate transformations (how do you do the inverse tranformation ? Is there a quick way to get them in toplevel view ? ... )
- stretching/reshaping wires.
Regards,
--
Frederic