lntAddTrace
lntAddTrace(
w_window
{ d_figId | t_netName }
[ ?mode t_mode ]
[ ?hierPath l_hierPath ]
[ ?startLevel x_startLevel ]
[ ?stopLevel x_stopLevel ]
[ ?userArea l_userArea ]
[ ?hilightIncrementally g_hilightIncrementally ]
[ ?retainColornStateInfo g_retainColornStateInfo ]
[ ?hilightColor t_hilightColor ]
[ ?maxCutShapes t_maxCutShapes ]
[ ?constraintGroup t_constraintGroup ]
[ ?stackLayers l_stackLayers ]
)
=> x_traceId / nil
Description
Creates a trace starting from the specified figure or net name in the specified window.
Arguments
Value Returned
Examples
win = hiGetCurrentWindow()
fig = css()
Uses the database ID of any valid figure — rect, path, pathSeg, circle, donut, ellipse or via for creating the trace.
fig2 = figId
//Database figure ID of the figure at depth 2.
netName = "n1"
// Name of the net from which the trace will be created.
hp = ((db:0x3233c71c 0 0 0) (db:ox3cbc819a 0 0 0))
Uses the SKILL function geGetInstHierPath(win) to derive the hierarchical path of the instance.
lntAddTrace(win figId) => 1
Searches the edit cellview for the figure with the specified ID.
lntAddTrace(win netName) => 2
Searches the edit cellview for the net with the specified name.
lntAddTrace(win fig2 ?hierPath hp) => 10
Uses the SKILL function from top to create a trace starting with the figure at hierarchy depth 2.
lntAddTrace(win n1 ?hierPath hp) => 10
Uses the SKILL function from top to create a trace starting with the net n1 from the cellview of the instance at hierarchy depth 2.
lntAddTrace(win fig ?stopLevel 20) => 20
Creates a trace starting from the figure at depth 0 and goes up to depth 20.
lntAddTrace(win fig ?retainColornStateInfo t) =>21
Retains the color and lock status of the chased figure.
lntAddTrace(win fig ?stopLevel 20 ?constraintGroup "myconstaintGroup) => 67
Uses the custom constraint group, "myconstaintGroup", to derive the layer rules to use for tracing.
lntAddTrace(win fig2) => nil
Creates no trace because the figure to use is present at depth 2, and the hierarchical path to the figure is not supplied.
lntAddTrace(hiGetCurrentWindow() figId ?stackLayers list("Metal1" "Metal5"))
Traces shapes only on Metal1 and Metal5 layers.
lntAddTrace(hiGetCurrentWindow() figId ?stackLayers list("Metal1"))
Traces shapes only on Metal1 layer.
Related Topics
Return to top