There are a few variables and functions in this that aren't defined, and also it's very hard to know what it will do without seeing the actual layout data (and a database would help, rather than a picture), unless I spend time coming up with a testcase - especially as there are (pretty much) no comments in the code.
I can't tell what would cause DRC errors or not without knowing what your technology rules are.
Please put yourself in the position of a reader of your post - and think about whether the reader would have to know information that's only accessible to you or whether they can infer everything from what you've posted.
if(member(sh1 gates) then ;sh1 is any shape dx1 = length(setof(i m (i < x1))) dx1 = dx1 * inc_gate dbMoveFig(sh1 nil list(dx1:0 "R0"))
chk=dbLayerSize(cv "POLY" list(sh1) 0.0075) ;dbLayerAnd(cv "POLY" list(sh1) list(chk)) dbDeleteObject(sh1) )
This is my code..sorry for the lack of clarity in the previous mail.
I am working on 70nm and all the polys should be stretched to 85nm...and DRC rules like poly-poly distance and poly contact distance should also be same after stretching polys.BUT after execution of this code:is not same as the original layout.
As I said, debugging your code without any data is quite hard, especially when your explanation of what you're expecting it to do is a bit vague. It's still not that clear to me precisely what you're expecting.
Also, this forum is manned by volunteers - it's not a substitute for customer support. For example, I'm currently out of the office at an event - so if you want urgent support, please contact customer support - and you'll need to provide enough data to reproduce the problem (that would have been helpful here, as I mentioned earlier)