pcDefineParamPath
pcDefineParamPath(d_pathId S_param g_margin g_width n_defaultWidth t_snap l_namelist) =>d_paramShapeId
Description
Defines a path that has its vertices determined by a parameter of the cell. When you place the Pcell, you enter a coordinate string that is used as the vertices of the parameterized path. You can use this function more than once in a cellview if all paths have the same vertices.
Arguments
Value Returned
Examples
pcDefineParamPath( path 'coords 2 'gateWidth 1-5 "orthogonal" list( 'gateWidth ) )
Defines path as a parameterized path that takes its vertices from the value of the parameter coords offset by 2, with a width equal to the value of the gateWidth parameter or 1–5 if gateWidth evaluates to a nonnumerical value. It tells the editor to use orthogonal snap when entering vertices for the path and declares gateWidth as a parameter of the cell.
Return to top