Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

schHiCreateNetExpression

schHiCreateNetExpression( 
[ ?netExpr t_netExpr ]
[ ?justify t_justify ]
[ ?fontStyle t_fontStyle ]
[ ?fontHeight n_fontHeight ]
)
=> t

Description

Creates an inherited connection and the corresponding net expression label. Usable when editing schematics or symbols.

If you do not specify t_netExpr or if you specify it as nil, the options form appears and prompts you for the net expression. If t_justify, t_fontStyle, and n_fontHeight are not specified, the software applies the current value of the respective environment variables: createLabelJustify, createLabelFontStyle, and createLabelFontHeight. The editor drags the label described by arguments and prompts you to select a location to place the label.

Arguments

?netExpr t_netExpr

A string containing the net expression in NLP syntax; must be enclosed in quotation marks.

?justify t_justify

Justification to give the net expression label text with respect to its placement; must be enclosed in quotation marks.
Valid Values: upperLeft, upperCenter, upperRight, centerLeft, centerCenter, centerRight, lowerLeft, lowerCenter, lowerRight

?fontStyle t_fontStyle

Label font style; must be enclosed in quotation marks.
Valid Values: euroStyle, fixed, gothic, math, roman, script, stick, swedish, milSpec

?fontHeight n_fontHeight

Label height in user units.
Default: 0.0625

Value Returned

Always returns t.

Examples

Creates the net expression label "gnd!".

schHiCreateNetExpression( "[@gnd:%:gnd!]" "lowerLeft" "stick" 0.0625 )

Related Topics

The Syntax of an Inherited Net Expression


Return to top
 ⠀
X