Ignoring object snap elevations

A frequent problem in objects snaps is the inheritance of the Z value when snapping to a point. GstarCAD addresses this problem with OSNAPZ system variable. If set to 0, osnap uses the z-value of the snapped point.

If set to 1, it uses the x+y of the snapped point and the current value of the ELEVATION system variable. Also note that when creating lightweight polylines, the elevation of the first snap will determine the elevation. After that, any snap to other elevations will be ignored.


Discover more from Gstarsoft's Blog

Subscribe to get the latest posts sent to your email.

  • GstarCAD Blog

    www.gstarcad.net

    Related Posts

    GstarCAD 2027 Deep Dive: How to Copy a CAD Drawing into Word

    When a floor plan is ready for review, the conversation often moves beyond CAD. Clients want to see it in a proposal; project managers need it alongside notes and decisions…

    How to Fix Missing Xrefs in a DWG File

    You open a DWG and the drawing looks strangely empty. The floor plan is there, but the structural grid is gone. Or the title block remains while an entire referenced…

    Leave a Reply

    Don't Miss out

    Gstarsoft Showcases a Practical Path from CAD to BIM at BIM World Munich 2026

    • November 26, 2026
    Gstarsoft Showcases a Practical Path from CAD to BIM at BIM World Munich 2026

    GstarCAD 2027 Deep Dive: How to Copy a CAD Drawing into Word

    • November 25, 2026
    GstarCAD 2027 Deep Dive: How to Copy a CAD Drawing into Word

    How to Fix Missing Xrefs in a DWG File

    • November 19, 2026
    How to Fix Missing Xrefs in a DWG File

    Why Is My DWG File So Large and How to Reduce It Safely

    • November 11, 2026
    Why Is My DWG File So Large and How to Reduce It Safely

    What Is a DXF File? A Practical Guide to CAD Exchange

    • November 4, 2026
    What Is a DXF File? A Practical Guide to CAD Exchange

    What Is a DWG File? An Easy Guide for CAD Beginners

    • October 30, 2026
    What Is a DWG File? An Easy Guide for CAD Beginners

    Discover more from Gstarsoft's Blog

    Subscribe now to keep reading and get access to the full archive.

    Continue reading