schCreateWireLabel
schCreateWireLabel(
d_cvId
d_glue
l_point
t_text
t_justify
t_orient
t_fontStyle
n_fontHeight
g_aliasP
)
=> d_labelId / nil
Description
Creates wire labels and glues them to the object you specify.
Arguments
|
d_cvId
|
Cellview ID of an editable schematic cellview in which to create the wire label.
|
|
d_glue
|
Wire or pin on which to glue the label.
|
|
l_point
|
Location of the label specified as a point.
|
|
t_text
|
Text of the label.
|
|
t_justify
|
Justification of the label text with respect to its placement; must be enclosed in quotation marks. Valid Values: upperLeft, upperCenter, upperRight, centerLeft, centerCenter, centerRight, lowerLeft, lowerCenter, lowerRight
|
|
t_orient
|
Orientation of the label; must be enclosed in quotation marks. Valid Values: R0, R90, R180, R270, MX, MXR90, MY, MYR90
|
|
t_fontStyle
|
Font style of the label; must be enclosed in quotation marks. Valid Values: euroStyle, fixed, gothic, math, roman, script, stick, swedish, milSpec
|
|
n_fontHeight
|
Label height in user units.
|
|
g_aliasP
|
Label alias flag, which specifies if a wire label has an alias or a normal net name. Valid Values: t, nil
|
Value Returned
|
d_labelId
|
The ID of the new wire label.
|
|
nil
|
Unsuccessful.
|
Examples
Creates the wire label net1 glued to the specified wire figure at location 0,1.875. The label is control-point justified at the lower left of the label, the font is a fixed-width font, and the height is 0.1 user units.
schCreateWireLabel( cv wireId (0:1.875) "net1" "lowerLeft" "R0" "fixed" 0.1 nil )
Return to top