I am using rodCreatePolygon which can produce a non-orthogonal polygon, just as dbCreatePolygon. Originally posted in cdnusers.org by mims
The pcell parameter that I use to define the polygon is _coords. I add an additional point to it in case that the shape would become non-orthogonal. The drawn polygon is orthogonal. Afterwords I define stretch handles on it (with a user function which alters the corresponding x or y coordinates of the two points affected by the stretch). In the case of an additional point added the results of the stretch were unexpected. In the user stretch function I printed the properties of the instance and the value of the _coords was the original value that is supllied to the pcell before the check for orthogonality.
I don't know if this makes any sense. On draw the pcell uses the correct value of _coords and on stretch it uses the original unmodified value supplied by the user during the pcell instantiation.
I was wondering if I am missing an obvious solution.