geMakeProbeWithLabel
geMakeProbeWithLabel( [ ?windoww_windowId] [ ?namet_name] [ ?objectg_object][ ?otherObjectg_otherObject] [ ?labelg_label] [ ?probeTypet_probeType] [ ?displayStylet_displayStyle] [ ?viewTypeListl_viewTypesToCrossProbe] [ ?messaget_messageString] [ ?labelNamet_labelName] [ ?labelColorl_labelColor] [ ?labelOffsetl_labelOffset] [ ?labelFontt_labelFont] [ ?labelFontSizef_labelFontSize] [ ?labelJustt_labelJust] [ ?labelOrientt_labelOrient] ) =>o_probeObjectId
Description
Creates a probe and gives it the specified label.
The object is highlighted when found using the display attributes of the layer specified in g_label or l_labelColor. t_probeType can be net, path, terminal, or instance. The probe type can be inferred from g_object if it is an object ID and is not a terminal.
A terminal can be part of either a terminal probe or a net probe, so the probe type can’t be derived in that case. If g_object is a path list, t_probeType must be specified since the type cannot be derived from the name. For net probes, t_displayStyle is used to determine whether to display the probe using flight lines or objects. Display style object highlights the physical objects associated with the probe. Display style flight highlights the terminals and draws straight flight lines between the terminals of the net. The default display style is object.
The probe label may be specified either as g_label, which is a list of label attributes, or by specifying specific label attributes as arguments to geMakeProbeWithLabel. The latter is usually more convenient if the predefined defaults are acceptable.
A single probe can have only one of the three display arguments: color, label, or onColor, and this function sets the label attribute. A multiple probe (same object and different display argument) can specify multiple display arguments. If g_object has already been probed, the probe becomes a multiple probe.
Arguments
Value Returned
Examples
The following example probes terminal A1 on instance I2 of the current window.
probe = geMakeProbeWithLabel(
?window getCurrentWindow( )
?name "probe2"
?object list("I2" "A1")
?labelName "labelName"
?labelColor list("y0" "drawing")
?probeType "terminal"
?displayStyle "object"
)
The following example has the same effect as the above example.
probe = geMakeProbeWithLabel(?name "myProbe" ?labelName "myProbeLabel" ?labelColor list("y0" "drawing") ?labelOffset 10:10 ?labelFont "gothic" ?labelFontSize 100. ?labelJust "centerCenter" ?labelOrient "R90" ?object list( "I1" "I2") ?probeType "instance")
Related Topics
Return to top