schCreateNetExpression
schCreateNetExpression(d_cvId t_netExpr d_glueId l_point t_justify t_orient t_fontStyle n_fontHeight) =>d_id/ nil
Description
Creates an inherited connection and the corresponding net expression label. Attaches the given net expression to the given database object. It validates the syntax of the expression and attaches a net expression label to the database object. If the object is a schematic wire, you must run the schematic extractor to create the inherited connection. Before calling this function, you must acquire all the required arguments of the function.
You can programmatically create inherited terminals by explicitly calling dbCreateTermNetExpr. A net expression label will not be created. You cannot create inherited signals by explicitly calling dbCreateSigNetExpr because the schematic extractor deletes an inherited signal that does not have a net expression label.
Arguments
Value Returned
|
The ID of the net expression label for the inherited connection. |
|
|
There is a syntax error in the given expression or the parent object is not a schematic wire, schematic pin, or symbol pin. |
Examples
Creates the net expression label [@power:%:vdd!] 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.125 user units.
netExprLabelId = schCreateNetExpression( cv “[@power:%:vdd!]” wireId (0:1.875) "lowerLeft" "R0" "fixed" 0.125 )
Related Topics
Return to top