cphSbSetPolygonalBoundary
cphSbSetPolygonalBoundary(g_cphId{g_sbId|l_physLCV}l_listOfPolygonPoints) => t / nil
Description
Sets the boundary attributes of soft blocks that are polygonal in shape. You need to specify the boundary vertices as a list of points or x, y coordinates.
Arguments
|
The vertices of the rectilinear polygon in the form of a list of x, y coordinates |
Value Returned
Examples
cphSbSetPolygonalBoundary (cphId sbId list(‘(0 0) ‘(0 100) ‘(100 100) ‘(100 50) ‘(50 50) ‘(50 0)))
cphSbSetPolygonalBoundary(cphId list("design" "block" "layout") list('(0 0) '(0 9.5) '(80.9 9.5) '(80.9 90.5) '(100.5 90.5) '(100.5 0)))
Return to top