<?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>tema Re: CHSPACE command altering the Z-values of objects to -#.##e99 en AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791092#M1067307</link>
    <description>&lt;P&gt;The Z-value of the objects are all 0.0000&lt;/P&gt;</description>
    <pubDate>Tue, 30 Nov 2021 15:26:50 GMT</pubDate>
    <dc:creator>hencoop</dc:creator>
    <dc:date>2021-11-30T15:26:50Z</dc:date>
    <item>
      <title>CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10790833#M1067297</link>
      <description>&lt;P&gt;The CHSPACE command is jacking up Z-values of objects.&amp;nbsp; If they are MULTILEADERs, the Z-values CANNOT be fully reset to 0.0 using the CHANGE command, Autolisp, or Visual Lisp.&amp;nbsp; There is at least one unreachable Z-value that is untouched.&amp;nbsp; It can be seen using the LIST command on the MULTILEADER (the ASSOC 10, 12, 110 values have Z=0.0).&lt;/P&gt;&lt;LI-CODE lang="general"&gt;MULTILEADER Layer: "C-VI046NOTE" Space: Model space Handle = 6e0d Leader Type: StraightLeader Content Type: MTextContent 
Landing: ON Leader Number: 0
Vertex: X = 1643382.1137, Y = 581080.0480, Z = 0.0000 
Vertex: X = 1643392.4306, Y = 581103.7736, Z = -6.3281E+99
Multileader style: STandard Annotative: NO&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I exploded one of these problem MULTILEADERs which had spline leaders (to recreate it from the text) and the splines disappeared; however, after saving the drawing, closing it, the drawing immediately crashed upon reopening.&amp;nbsp; I ran RECOVER on it and that found the splines which had to be deleted to fix the drawing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas why CHSPACE is screwing the Z-values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Recover.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/995316iA68364CA16A5EBB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Recover.jpg" alt="Recover.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 13:58:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10790833#M1067297</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2021-11-30T13:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10790999#M1067299</link>
      <description>&lt;P&gt;It has the same value as BACKZ, but it's read only and no one knows why it happens or how to fix it.&lt;/P&gt;
&lt;P&gt;Only happened with Land Desktop and C3D.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Who knows why 1.JPG" style="width: 433px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/995342iE11C4C4CA61BCC1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Who knows why 1.JPG" alt="Who knows why 1.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Who knows why.JPG" style="width: 668px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/995343iEAD1476978E27571/image-size/large?v=v2&amp;amp;px=999" role="button" title="Who knows why.JPG" alt="Who knows why.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 14:48:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10790999#M1067299</guid>
      <dc:creator>Patchy</dc:creator>
      <dc:date>2021-11-30T14:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791042#M1067301</link>
      <description>&lt;P&gt;My drawing shows BACKZ = 0.0000 (read only)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:06:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791042#M1067301</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2021-11-30T15:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791056#M1067302</link>
      <description>&lt;P&gt;I checked all of the System Variables and these are the only two that have large Z-values:&lt;/P&gt;&lt;P&gt;EXTMAX 34.0005,22.0003,xxx-xxxxxxxx.0000 (read only)&lt;BR /&gt;EXTMIN -0.0005,-0.0003,-1.5258E+15 (read only)&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:11:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791056#M1067302</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2021-11-30T15:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791058#M1067303</link>
      <description>&lt;P&gt;Activate the viewport then use command BACKZ&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:12:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791058#M1067303</guid>
      <dc:creator>Patchy</dc:creator>
      <dc:date>2021-11-30T15:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791062#M1067304</link>
      <description>&lt;P&gt;There it is!&lt;/P&gt;&lt;P&gt;BACKZ = 6.3281E+99 (read only)&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:14:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791062#M1067304</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2021-11-30T15:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791088#M1067305</link>
      <description>&lt;P&gt;The formula is&amp;nbsp; Z of your object * Viewportscale = New Z in paperspace.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:25:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791088#M1067305</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2021-11-30T15:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791089#M1067306</link>
      <description>&lt;P&gt;I rechecked the System Variables with the viewport activated.&amp;nbsp; The Z-value of the TARGET seems to be the source of my problems.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;These were the prior values (idk why my previous reply x'd out the EXTMAX Z-value numbers):
EXTMAX            34.0005,22.0003,xxx-xxxxxxxx.0000     (read only)
EXTMIN            -0.0005,-0.0003,-1.5258E+15          (read only)

Viewport Activated:
EXTMAX            3.4191E+99,585628.2073,942.0457      (read only)
EXTMIN            -1.7315E+84,-5.3249E+99,-1.2656E+99  (read only)
TARGET            1643490.8475,581068.6715,-6.3281E+99 (read only)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:26:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791089#M1067306</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2021-11-30T15:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791092#M1067307</link>
      <description>&lt;P&gt;The Z-value of the objects are all 0.0000&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:26:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791092#M1067307</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2021-11-30T15:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791111#M1067309</link>
      <description>&lt;P&gt;It doesn't matter what viewport scale, it will inherit the BACKZ value when chspace is used.&lt;/P&gt;
&lt;P&gt;Here is the dwg, you can give it a test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:44:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791111#M1067309</guid>
      <dc:creator>Patchy</dc:creator>
      <dc:date>2021-11-30T15:44:00Z</dc:date>
    </item>
    <item>
      <title>Betreff: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791129#M1067310</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/558015"&gt;@Patchy&lt;/a&gt;&amp;nbsp; In case the objetcs are not at 0 (isn't the case here in this thread)- you are wrong.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:43:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791129#M1067310</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2021-11-30T15:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791137#M1067311</link>
      <description>&lt;P&gt;Something is really screwed in this drawing.&lt;/P&gt;&lt;P&gt;I tried to reset everything by setting PLAN to WORLD and then using the DVIEW command to reset the twist and ZOOM to reset the scale.&amp;nbsp; The magnification height would not reset from 7.1997E+99 using ZOOM 1/50XP or entering a magnification height of 1000.&amp;nbsp; It looks like the only cure for this will be to WBLOCK Mspace and Pspace and then open the Mspace wblocked drawing and insert the Pspace wblocked drawing into its layout and explode it.&amp;nbsp; This should create a new drawing header and leave out the corruption that is causing this... we'll see.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Command: (setq itc (getvar "viewctr"))
(1.64351e+06 581049.0 0.0)

Command: (setq vangl (getvar "viewtwist"))
0.0601247

Command: PLAN

Enter an option [Current ucs/Ucs/World] &amp;lt;Current&amp;gt;: w
Regenerating model.

Command: (SETVAR "viewtwst" vangl)

ERROR: AutoCAD variable setting rejected: "viewtwst" 0.0601247; reset after error

Command: VIEWTWIST

VIEWTWIST = 0.00000000 (read only)
Command: (* 180.0 (/ vangl PI))
3.44489

Command: (* 180.0 (/ vangl PI))*Cancel*

Command: *Cancel*

Command: VIEWTWIST

VIEWTWIST = 0.00000000 (read only)
Command: DVIEW

Select objects or &amp;lt;use DVIEWBLOCK&amp;gt;:

Enter option
[CAmera/TArget/Distance/POints/PAn/Zoom/TWist/CLip/Hide/Off/Undo]: tw

Specify view twist angle &amp;lt;0.00&amp;gt;: (* 180.0 (/ vangl PI))
3.44489

Enter option
[CAmera/TArget/Distance/POints/PAn/Zoom/TWist/CLip/Hide/Off/Undo]:
Regenerating model.

Command: Z
ZOOM
Specify corner of window, enter a scale factor (nX or nXP), or
[All/Center/Dynamic/Extents/Previous/Scale/Window/Object] &amp;lt;real time&amp;gt;: c

Specify center point: !itc
(1.64351e+06 581049.0 0.0)

Enter magnification or height &amp;lt;7.1997E+99&amp;gt;: 1000
Regenerating model.

Command:
ZOOM

Specify corner of window, enter a scale factor (nX or nXP), or
[All/Center/Dynamic/Extents/Previous/Scale/Window/Object] &amp;lt;real time&amp;gt;: *Cancel*

Command: *Cancel*

Command: Z
ZOOM
Specify corner of window, enter a scale factor (nX or nXP), or
[All/Center/Dynamic/Extents/Previous/Scale/Window/Object] &amp;lt;real time&amp;gt;: 1/50xp
Regenerating model.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:45:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791137#M1067311</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2021-11-30T15:45:58Z</dc:date>
    </item>
    <item>
      <title>Betreff: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791143#M1067312</link>
      <description>&lt;P&gt;Not wrong, just misunderstood.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:47:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791143#M1067312</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2021-11-30T15:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791149#M1067313</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1152254"&gt;@hencoop&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then you found it, target not perpendicular to object plane,&lt;/P&gt;
&lt;P&gt;this way your statement "all at Z=0" is right, if you talking about WCS or UCS,&lt;/P&gt;
&lt;P&gt;but the data isn't "all at Z=0" messured from the view plane.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next time, upload a sample dwg - it's much better for other users and a (shorter) discussion &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@38DF24EF580240D512020314976B5FC8/emoticons/1f642.png" alt=":cara_con_una_leve_sonrisa:" title=":cara_con_una_leve_sonrisa:" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:49:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791149#M1067313</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2021-11-30T15:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791196#M1067314</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/558015"&gt;@Patchy&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71745"&gt;@cadffm&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recreated the drawing using WBLOCK as described in my prior reply.&amp;nbsp; Now, all is is good!&amp;nbsp; &lt;FONT color="#FF0000"&gt;&lt;STRIKE&gt;Something&lt;/STRIKE&gt;&lt;/FONT&gt;&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;CHSPACE&lt;/STRONG&gt;&lt;/FONT&gt; jacked up the drawing!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New drawing results:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Command: MS&lt;BR /&gt;&amp;nbsp; &amp;nbsp; MSPACE&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Command: TARGET&lt;BR /&gt;&amp;nbsp; &amp;nbsp; TARGET = 1642771.3801,583175.9174,341.5070 (read only)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Command: BACKZ&lt;BR /&gt;&amp;nbsp; &amp;nbsp; BACKZ = 0.0000 (read only)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New drawing results with no other edits except one use of&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;CHSPACE!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Command: CHSPACE&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Select objects: 1 found&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Select objects:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Set the SOURCE viewport active and press ENTER to continue.:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 1 object(s) changed from MODEL space to PAPER space.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Objects were scaled by a factor of 0.02 to maintain visual appearance.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Command: Specify opposite corner or [Fence/WPolygon/CPolygon]:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Command: MS&lt;BR /&gt;&amp;nbsp; &amp;nbsp; MSPACE&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Command: BACKZ&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; BACKZ = 6.3281E+99 (read only)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Command: TARGET&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; TARGET = 1643490.8475,581068.6715,-6.3281E+99 (read only)&lt;/P&gt;&lt;P&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@59D55420054DABB13597177571F42310/emoticons/1f633.png" alt=":cara_sonrojada:" title=":cara_sonrojada:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My solution?&amp;nbsp; &lt;STRIKE&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;NEVER USE CHSPACE AGAIN!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/STRIKE&gt; No, wait!&amp;nbsp; I need to replace the viewports with new ones and see if it is a viewport corruption problem!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 16:07:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791196#M1067314</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2021-11-30T16:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791440#M1067325</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71745"&gt;@cadffm&lt;/a&gt;&amp;nbsp;Maybe I don't understand you?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using WORLD coordinates; I have used the command PLAN and set the viewport to WORLD;&amp;nbsp; Using DVIEW to check the target I see the angle from the XY plane is -90, and, the angle in the XY plane from the X axis is -90,&amp;nbsp;The system variable AUPREC=8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have just proven to my satisfaction that the cause of this problem is the DVIEW command.&amp;nbsp; Specifically, the following will jack up/down the values of TARGET and BACKZ:&lt;/P&gt;&lt;P&gt;(COMMAND "._dview" "" "tw" 3.44489 "").&amp;nbsp; I have a routine that calculates the desired angle and feeds it as a variable name instead of 3.44489 (or&amp;nbsp;3.444889250415612, the calc'd value to 16 places)&lt;/P&gt;&lt;P&gt;I tested this, it makes no difference whether each individual entry is manually keyed in at the command line or entered by an autolisp function as shown (whether angle is rounded to 4-places or not rounded at all).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is [wrong with/designed into] DVIEW TWIST that it jacks the TARGET and BACKZ system variables?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently, I cannot twist my viewport to this angle (and likely many other angles) without jacking TARGET and BACKZ and causing these jacked values to be assigned to objects operated on by CHSPACE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I using DVIEW TWIST incorrectly?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 17:32:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791440#M1067325</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2021-11-30T17:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791894#M1067340</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71745"&gt;@cadffm&lt;/a&gt;,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/558015"&gt;@Patchy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that this problem may be caused by DVIEW TArget and CAmera points being very close together in Z-value.&amp;nbsp; (I still don't know what cause that).&amp;nbsp; Trying to set them coincident to test failed as AutoCAD does not allow them to be coincident... so I set them very close to each other but that did not cause DVIEW TWist to recreate the problem.&amp;nbsp; Nevertheless, there were similarities between this problem and another I had some while back:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/civil-3d-forum/cannot-select-3d-lines/m-p/6223167#M297306" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/civil-3d-forum/cannot-select-3d-lines/m-p/6223167#M297306&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've modified my code to set both FRONTZ and BACKZ, turn off clipping, and reset TARGET Z-values (POints option sets this) before my DVIEW TWist command.&amp;nbsp; That seems to have solved my problem... so far.&lt;BR /&gt;&lt;BR /&gt;Summary:&amp;nbsp; DVIEW TWist sometimes changes the TARGET and/or BACKZ Z-values to&amp;nbsp;huge or minuscule numbers (#.#e+99).&amp;nbsp; It seems especially so if they are already not zero.&amp;nbsp; Resetting FRONTZ, BACKZ,&amp;nbsp; turning OFF DVIEW CLipping and resetting the TARGET (POints option) before executing DVIEW TWist keeps these Z-values from being jacked... so far.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;;Use (GETVAR "VIEWCTR") to keep the view in the same place after DVIEW 
(COMMAND "._DVIEW" "" "CL" "B" "0.0" "CL" "F" "0.0" "CL" "OFF" "PO" (LIST (CAR (GETVAR "VIEWCTR"))(CADR(GETVAR "VIEWCTR"))0.0) (LIST (CAR (GETVAR "VIEWCTR"))(CADR(GETVAR "VIEWCTR"))1.0) "TW" vwang "")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 20:54:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10791894#M1067340</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2021-11-30T20:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10794048#M1067411</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/558015"&gt;@Patchy&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71745"&gt;@cadffm&lt;/a&gt;&amp;nbsp;&amp;nbsp;So, today my fix was failing because AutoCAD saw TARGET and CAMERA POints as coincident.&amp;nbsp; &amp;nbsp; I was trying to set them to the VIEWCTR X,Y and give them differing Zs.&amp;nbsp; It appears that their existing Z-values&amp;nbsp; being minuscule/enormous are responsible for this error in AutoCAD.&amp;nbsp; The fix is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be very clear, all of these DVIEW things must be done before using CHSPACE whenever my viewport's TARGET is not well behaved , i.e. When TARGET has a minuscule/enormous Z-value like -6.385E+99.&lt;/P&gt;&lt;P&gt;Once TARGET is 0,0,0, BACKZ=0.0, and FRONTZ=0.0 using CHSPACE does NOT jack the Z-values of the objects!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what was happening (Text Window command history):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Command: DVIEW

Select objects or &amp;lt;use DVIEWBLOCK&amp;gt;:

Enter option
[CAmera/TArget/Distance/POints/PAn/Zoom/TWist/CLip/Hide/Off/Undo]: PO

Specify target point &amp;lt;1643253.5316, 583856.1333, -4.6094E+99&amp;gt;: (LIST(CAR(GETVAR "VIEWCTR"))(CADR(GETVAR "VIEWCTR"))0.0)
(1.64325e+06 583856.0 0.0)

Specify camera point &amp;lt;1643253.5316, 583856.1333, -4.6094E+99&amp;gt;: (LIST(CAR(GETVAR "VIEWCTR"))(CADR(GETVAR "VIEWCTR"))1.0)
(1.64325e+06 583856.0 1.0)

Camera and Target may not be coincident&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I had to do to make it all work for me:&lt;/P&gt;&lt;P&gt;It was necessary to separate the CLipping part of the command from the POints and TWist parts; then, set the TARGET and CAMERA POints to 0,0,0 and 0,0,1 respectively to avoid the coincident error that AutoCAD is reporting; then, set the TWist angle; finally, ZOOM Center using the saved VIEWCTR point.&amp;nbsp; This works for me... so far.&amp;nbsp; the results are BACKZ=0.0; FRONTZ=0.0; TARGET= #.###, #.###, 0.0 (and VIEWCTR as I need it)&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B05168100D3B24079073EF5DD0C792F6/emoticons/1f44d.png" alt=":símbolo_del_pulgar_hacia_arriba:" title=":símbolo_del_pulgar_hacia_arriba:" /&gt;&lt;/P&gt;&lt;P&gt;I.e.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;      (SETQ vwctr (LIST (CAR (GETVAR "VIEWCTR"))(CADR (GETVAR "VIEWCTR")) 0.0))
      (COMMAND "._DVIEW" "" "CL" "B" "0.0" "CL" "F" "0.0" "CL" "OFF" "")
      (COMMAND "._DVIEW" "" "PO" "0,0,0" "0,0,1" "")
      (COMMAND "._DVIEW" "" "TW" vwang "")
      (COMMAND "._ZOOM" "C" vwctr "")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. The above code is a part of my tool for setting any VIEWTWIST required in my viewport.&amp;nbsp; It seemed like the most logical place to force these SYSVAR resets.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 18:05:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10794048#M1067411</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2021-12-01T18:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10794253#M1067429</link>
      <description>&lt;P&gt;Strange that it happened only with Civil drawings.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 18:38:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10794253#M1067429</guid>
      <dc:creator>Patchy</dc:creator>
      <dc:date>2021-12-01T18:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: CHSPACE command altering the Z-values of objects to -#.##e99</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10794258#M1067430</link>
      <description>&lt;P&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@C73B09A7C31E1F0B3CFC1B183A33863F/emoticons/1f614.png" alt=":cara_pensativa:" title=":cara_pensativa:" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 18:40:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/chspace-command-altering-the-z-values-of-objects-to-e99/m-p/10794258#M1067430</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2021-12-01T18:40:01Z</dc:date>
    </item>
  </channel>
</rss>

