CAD FORUM - TIPS & TRICKS | UTILITIES | DISCUSSION | BLOCKS | SUPPORT | HELP & ASSISTANCE
Over 1.123.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
The new Beam calculator, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.variables
CAD tip # 4286:
Question
A
The new system variable OSNAPZ in AutoCAD 2006+ can suppress object snapping to Z values (ignore object elevation) and use the current Elevation value instead.
You can also the setting "Replace Z value with current elevation" in the Options dialog.
Preset the OSNAPZ by adding:
(setvar "osnapz" 1)
to your ACADDOC.LSP file, or toggle the OSNAPZ status by adding a button with the menu macro:
^C^C(setvar 'osnapz (abs (1- (getvar 'osnapz))))
to your ribbon (CUI).
Z values captured from osnap can be source of many problems in drawings.
ACAD2015ACAD2012ACAD2010ACAD2006ADT2006Map2006
15.3.2005
16240×
this tip shared by ARKANCE experts applies to: AutoCAD 2015 · AutoCAD 2012 · AutoCAD 2010 · AutoCAD 2006 · AutoCAD Architecture 2006 · AutoCAD Map 3D 2006 ·
![CAD Forum - ARKANCE Community - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

What is the ARKANCE Community?