Search the Community
Showing results for tags 'pline command'.
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!
hitrance posted a topic in AutoCAD 2D Drafting, Object Properties & InterfaceI have just started using Autocad 2010 (i know i know, its not the latest )... but anyways. I am facing this unique problem where i have a 3d solid object in the drawing, and when the first point in a pline command falls within the boundary of the 3d solid, autocad automatically assigns some of the properties of the 3dsolid to the new polyline i draw. so for example, in the attached file, even if i am selecting pline command and starting a command within the rectangle (start point shown as a circle), it automatically changes the z coordinates so that the resulting pline is angled to the xy plane. I a not sure how this happens, and how I can turn it off. Any help will be much appreciated. ask.dwg