<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linework shifts when Z value changed in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11120236#M58427</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9816200"&gt;@dmooreHP7RF&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... Is redrawing the linework the only solution to fix this? ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You could use FLATTEN, but if the Polyline was accurately drawn within its own plane, some distortion would be introduced.&amp;nbsp; If that's the case, I suggest:&lt;/P&gt;
&lt;P&gt;1)&amp;nbsp; MOVE the Polyline so that some vertex is on Z=0 in the WCS;&lt;/P&gt;
&lt;P&gt;2)&amp;nbsp; Draw a vertical LINE from some other vertex to Z=0 at the same location [use the &lt;STRONG&gt;.&lt;/STRONG&gt;XY point filter];&lt;/P&gt;
&lt;P&gt;3)&amp;nbsp; Set a new UCS based on the Polyline, and then another with the vertex that's at WCS Z=0 as the origin, and the one you drew the Line from on the X axis, and go into PLAN view in that UCS.&amp;nbsp; You should be looking at the Polyline edge-on, with the WCS-vertical Line showing the amount of tilt.&lt;/P&gt;
&lt;P&gt;4)&amp;nbsp; ROTATE the Polyline about the current UCS 0,0, using the Reference option to swing from the vertex-end of the Line to its other end.&amp;nbsp; That will bring that vertex to the WCS XY plane without distorting the shape of the Polyline, but it could still be tilted in another direction, so:&lt;/P&gt;
&lt;P&gt;5)&amp;nbsp; Repeat the procedure using different vertices to bring the whole thing into the WCS XY plane.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Apr 2022 18:05:42 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2022-04-21T18:05:42Z</dc:date>
    <item>
      <title>Linework shifts when Z value changed</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11119893#M58422</link>
      <description>&lt;P&gt;Some linework I have is acting very unusual, it is like it has its own UCS separate from the drawings UCS. If I draw a new polyline I can change the elevation freely, like normal. If I change the elevation on the existing linework, it shifts. It is acting like the linework is on a rotated UCS and even shows that when I try to edit a polyline(see attached).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? This is new to me in my 20 years of doing this.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 15:23:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11119893#M58422</guid>
      <dc:creator>dmooreHP7RF</dc:creator>
      <dc:date>2022-04-21T15:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Linework shifts when Z value changed</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11120000#M58423</link>
      <description>&lt;P&gt;It's not quite clear to me what you image is illustrating, but it looks like you are not quite in PLAN view, which would explain things seeming to shift when changed in elevation.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 16:03:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11120000#M58423</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-04-21T16:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Linework shifts when Z value changed</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11120031#M58424</link>
      <description>&lt;P&gt;Hi Kent, thank you for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything is as should be, the rotated UCS you are seeing only appears when I do a polyline edit, in the image I attached I am editing the polyline that in this example is parking space striping. That UCS is a clue to what is occurring. If I change the Z value in the properties box from say....0 to -10000, it will move to the left along that slightly rotated Z axis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry if I am still unclear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 16:17:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11120031#M58424</guid>
      <dc:creator>dmooreHP7RF</dc:creator>
      <dc:date>2022-04-21T16:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Linework shifts when Z value changed</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11120083#M58425</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9816200"&gt;@dmooreHP7RF&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... It is acting like the linework is on a rotated UCS and even shows that when I try to edit a polyline...&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then it is [on a rotated UCS, that is].&amp;nbsp; For further evidence, put this in at the command line:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#000000"&gt;(entget (car (entsel)))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;and comply with the resulting&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#000000"&gt; Select object: &lt;/FONT&gt;&lt;/STRONG&gt;prompt by selecting the Polyline in question.&amp;nbsp; If the very end of the list that results is &lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;.... (210 0.0 0.0 1.0))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;but the&lt;FONT face="courier new,courier" color="#000000"&gt;&lt;STRONG&gt; 210&lt;/STRONG&gt; &lt;/FONT&gt;is followed by &lt;STRONG&gt;different numbers&lt;/STRONG&gt;, it confirms that the Polyline does not lie in [or parallel to] the WCS.&amp;nbsp; The&lt;FONT face="courier new,courier" color="#000000"&gt;&lt;STRONG&gt; (210)&lt;/STRONG&gt; &lt;/FONT&gt;entry in entity data is the extrusion direction, or the unit-vector "normal" or "up" direction for the object, with the numbers following the&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#000000"&gt; 210 &lt;/FONT&gt;&lt;/STRONG&gt;being WCS XYZ coordinates of a point relative to 0,0,0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also do:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;(getpropertyvalue (car (entsel)) "Normal")&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;and select it, which will give you that alone [instead of the whole entity data list], which will be:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;(0.0 0.0 1.0)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;if it lies in the WCS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 16:47:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11120083#M58425</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-04-21T16:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linework shifts when Z value changed</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11120098#M58426</link>
      <description>&lt;P&gt;Yes you were correct&lt;/P&gt;&lt;P&gt;(210 0.0545243 -0.0536981 0.997068))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is redrawing the linework the only solution to fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Kent&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 16:52:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11120098#M58426</guid>
      <dc:creator>dmooreHP7RF</dc:creator>
      <dc:date>2022-04-21T16:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Linework shifts when Z value changed</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11120236#M58427</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9816200"&gt;@dmooreHP7RF&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... Is redrawing the linework the only solution to fix this? ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You could use FLATTEN, but if the Polyline was accurately drawn within its own plane, some distortion would be introduced.&amp;nbsp; If that's the case, I suggest:&lt;/P&gt;
&lt;P&gt;1)&amp;nbsp; MOVE the Polyline so that some vertex is on Z=0 in the WCS;&lt;/P&gt;
&lt;P&gt;2)&amp;nbsp; Draw a vertical LINE from some other vertex to Z=0 at the same location [use the &lt;STRONG&gt;.&lt;/STRONG&gt;XY point filter];&lt;/P&gt;
&lt;P&gt;3)&amp;nbsp; Set a new UCS based on the Polyline, and then another with the vertex that's at WCS Z=0 as the origin, and the one you drew the Line from on the X axis, and go into PLAN view in that UCS.&amp;nbsp; You should be looking at the Polyline edge-on, with the WCS-vertical Line showing the amount of tilt.&lt;/P&gt;
&lt;P&gt;4)&amp;nbsp; ROTATE the Polyline about the current UCS 0,0, using the Reference option to swing from the vertex-end of the Line to its other end.&amp;nbsp; That will bring that vertex to the WCS XY plane without distorting the shape of the Polyline, but it could still be tilted in another direction, so:&lt;/P&gt;
&lt;P&gt;5)&amp;nbsp; Repeat the procedure using different vertices to bring the whole thing into the WCS XY plane.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 18:05:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11120236#M58427</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-04-21T18:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Linework shifts when Z value changed</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11120461#M58428</link>
      <description>&lt;P&gt;What template was the drawing created from?&amp;nbsp;&lt;/P&gt;&lt;P&gt;With a projected coordinate system like we use in Map 3D a large change in elevation will appear to shift an object as you've describe.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 19:51:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/linework-shifts-when-z-value-changed/m-p/11120461#M58428</guid>
      <dc:creator>TomBeauford</dc:creator>
      <dc:date>2022-04-21T19:51:22Z</dc:date>
    </item>
  </channel>
</rss>

