schCreateSymbolLabel
schCreateSymbolLabel(
d_cvId
l_point
t_labelChoice
t_text
t_justify
t_orient
t_fontStyle
n_fontHeight
t_type
)
=> d_label / nil
Description
Creates a label in only a symbol cellview with the specified attributes that is opened in append mode.
Arguments
|
d_cvId
|
Cellview ID of a symbol cellview in which to create the label.
|
|
l_point
|
Location of the label specified as a point.
|
|
t_labelChoice
|
Type of label to create; must be enclosed in quotation marks. Valid Values: instance label, device label, device annotate, pin name, pin annotate
|
|
t_text
|
Text of the label; must be enclosed in quotation marks.
|
|
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 instance placement; 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. Default: 0.0625
|
|
t_type
|
Type of label to create; must be enclosed in quotation marks. Valid Values: normalLabel, NLPLabel, ILLabel
|
Value Returned
|
d_label
|
The ID of the new label.
|
|
nil
|
Label creation was unsuccessful.
|
Examples
Creates an instance label [@instanceName] in the specified cellview, located at 0,1.875. The label’s control point is justified at the lower left of the label, the font is a fixed-width font, the height is 0.125 user units, and the label is an interpreted NLPLabel label.
labelId = schCreateSymbolLabel( cv 0:1.875 "instance label" "[@instanceName]" "lowerLeft" "R0" "fixed" 0.125 "NLPLabel" )
Return to top