|
- axlChangeNet - change net an object is on
- SYNOPSIS
- axlChangeNet(
- o_dbid
- t_netName/o_netdbid
- )
- ==> t/nil
- FUNCTION
- This changes the net an object is currently on. It is currently
- restricted to shapes, filled rectangles, pins, and vias. If it
- succeeds it returns "t". It will not ripup clines or vias.
-
- It can fail for the following reasons.
- - object is not supported
- - netName does not exist
-
- Restrictions:
- - Pins must be assigned. Pins must have an associated
- component. Mechanical pins are un-assigned.
- - Vias net assignment is advisory. The via must be able to
- connect to something on the provided net to remain on
- that net otherwise it will fall back to the original
- or possibly another net.
-
- If a via is in open space it will be on dummy net. This
- API cannot be used to force it onto a net.
-
- This API is useful for a via, if a it touchs multiple
- shapes but it is assigned to the wrong shape's net.
-
- Side effects:
- 1) It may not properly reconnect two touching clines
- segments that were previously connected via the shape.
- 2) clines only attached to the shape will inherit the new
- net of the shape
- 3) vias attached to the shape will NOT inherit the new net.
- This is different from the Allegro change net command.
- NEEDS
- o_dbid - shape dbid.
- t_netName/o_netdbid - name of a net or a netdbid (for dummy nets)
- RETURNS
- t - was able to change object
- nil - otherwise
复制代码
|
|