schHiCreateWire
schHiCreateWire( [ ?widthn_width] [ ?drawModeg_drawMode] [ ?routeMethodt_routeMethod] [ ?lockAnglet_lockAngle] [ ?nonModalg_nonModal] [ ?colort_color] [ ?lineStylet_lineStyle] ) => t
Description
Creates different style wires that represent net connections in a schematic. Usable only when editing schematics.
You can manually draw a wire or let the schematic editor route the wire automatically, depending on g_drawMode. g_drawMode allows you to draw wires of different shapes. t_routeMethod prompts you to enter two end points for the wire that the schematic editor then routes.
The schematic editor draws a rubberband line until you click the next segment. The current setting for g_drawMode determines the rubberband line shape. You can change the value by displaying the options form.
To complete the line manually, click a schematic pin, a pin of a component, another wire, or double-click the wire end point. The schematic editor continually prompts you to click another wire until you want to select another function.
When you complete the wire, the schematic editor automatically generates pins if the edge of the wire connects to the edge of a block. You can specify the pin attributes by setting the blockDirRule field of the Editor Options form and by specifying the pinSeed property on the block.
Arguments
Value Returned
Examples
Starts creating a 0.0625-unit wide line in the schematic. The rubberband line shape is set to L90 and starts in the X direction.
schHiCreateWire( 0.0625 "l90X" )
Prompts you to enter two points for the wire, which the schematic editor then routes using the most complete routing algorithm. Draws a rubberband line from your first selected point until you select a second point. The schematic editor routes the wire automatically using the full route method.
schHiCreateWire ( 0.0 "route" "full" )
Return to top