Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

CHSPACE command altering the Z-values of objects to -#.##e99

hencoop
Advisor

CHSPACE command altering the Z-values of objects to -#.##e99

hencoop
Advisor
Advisor

The CHSPACE command is jacking up Z-values of objects.  If they are MULTILEADERs, the Z-values CANNOT be fully reset to 0.0 using the CHANGE command, Autolisp, or Visual Lisp.  There is at least one unreachable Z-value that is untouched.  It can be seen using the LIST command on the MULTILEADER (the ASSOC 10, 12, 110 values have Z=0.0).

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

 

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.  I ran RECOVER on it and that found the splines which had to be deleted to fix the drawing.

 

Any ideas why CHSPACE is screwing the Z-values?

 

Recover.jpg

AutoCAD User since 1989. Civil Engineering Professional since 1983
Product Version: 13.6.1963.0 Civil 3D 2024.4.1 Update Built on: U.202.0.0 AutoCAD 2024.1.6
                        27.0.37.14 Autodesk AutoCAD Map 3D 2024.0.1
                        8.6.52.0 AutoCAD Architecture 2024
0 Me gusta
Responder
Soluciones aceptadas (1)
2.029 Vistas
21 Respuestas
Respuestas (21)

hencoop
Advisor
Advisor

@Patchy wrote:

It doesn't matter what viewport scale, it will inherit the BACKZ value when chspace is used.


This bit of information was key to finding the solution!

AutoCAD User since 1989. Civil Engineering Professional since 1983
Product Version: 13.6.1963.0 Civil 3D 2024.4.1 Update Built on: U.202.0.0 AutoCAD 2024.1.6
                        27.0.37.14 Autodesk AutoCAD Map 3D 2024.0.1
                        8.6.52.0 AutoCAD Architecture 2024
0 Me gusta

akitchensZEZPR
Enthusiast
Enthusiast

It has to do with the TARGET value not being 0,0,0.

Problem is, you can't change that value because Autodesk has made it read-only.

 

Instead you have to use the DVIEW command's Point option to put things back to normal. Here is the command sequence:

Dview [Enter] [Enter] Point [Enter] 0,0,0 [Enter] 0,0,1 [Enter] [Enter]

 

I saw that someone posted this solution but gave the instructions in AutoLISP format, so I thought I would include the command line instructions in case anybody needed to know how to fix this without writing a script.

0 Me gusta