leCreatePath
leCreatePath(
d_cellViewId
l_layerPurposePair
l_points
n_width
[ t_pathStyle ]
[ n_offset ]
[ t_justification ]
)
=> d_pathId / nil
Description
Creates a path in cellview d_cellViewId on the specified layer with point list l_points and width n_width.
Arguments
|
d_cellViewId
|
The database ID of the cellview in which the path is created.
|
|
l_layerPurposePair
|
|
|
Layer-purpose pair of the path. Valid Values: any valid layer name and purpose if other than drawing
|
|
l_points
|
List of coordinates used to create the path.
|
|
n_width
|
Specifies the width of the current segment of the path. Valid Values: any non-negative number in user units
|
|
t_pathStyle
|
Specifies how the path segment ends are built for the current path segment. Valid Values: truncateExtend, extendExtend, roundRound, or varExtendExtend
|
|
n_offset
|
Specifies the offset from the points you enter to the path. Valid Values: a positive or negative number
|
|
t_justification
|
Specifies whether the path points correspond to the centerline of the path, its left edge, or its right edge. The offset is relative to the specified edge. Valid Values: left, center, or right
|
Value Returned
|
d_pathId
|
The object ID of the path if the path is created.
|
|
nil
|
The path is not created.
|
Example
Creates a path in cellview cell2 on layer metal1R with the coordinates 0:0, 10:0, 10:10 and returns the object ID of the path. The path has a width of 5.
leCreatePath( cell2 list("metal1R") list(0:0 10:0 10:10) 5 )
Interactive Function
Enter this function with only the window ID argument; the system prompts you to enter the layer, coordinates, width, and options. If you do not specify w_windowId, the current window is used.
leHiCreatePath( [ w_windowId ] ) => t / nil
Return to top