Search the Community
Showing results for tags 'pline error'.
Found 2 results
Hi, I have just started using autocad two weeks ago and I'm trying to make my first script file, a joined, closed polyline that is a rectangle. The code is below: _pline -15000,0 15000,0 15000,-1000 -15000,-1000 c (there is a space after the 'c' and a return after the line) When I run, it creates a trapezoid and I'm not sure why (it is joined and closed). The first and second points are in the correct locations. The third point is not (it's at (15000,-1160.7425)) and the fourth point is not (it's at (-15200,-1160.7425)). All the angles from the XY plane are 0, so none of them are going into the z dimension. Also, the problem vanishes when I remove the negative signs from the y coordinates. Does anyone know what's going on and can provide a fix? Thanks!
CafeJr posted a topic in AutoLISP, Visual LISP & DCLGuys, Attached here I have one drawing with a pline exported from another software, I receive a lot of this kind of entity with the same error, someone know's how to fix it, or it's possible redraw it with another line but as the same format!... (Try to do a offset of 20 mm about that entity, to both sides, not works) It's possible work with a lisp to redraw it? Thanks... Entity with error.dwg