No Clue Posted April 30, 2013 Share Posted April 30, 2013 Apparently you can draw 2D lines in Microstation and even snap to 3D points while still keeping your cursor to x,y,0. They "lock" the cursor to z-value '0'. Is this possible in AutoCAD? Quote Link to comment Share on other sites More sharing options...
alanjt Posted April 30, 2013 Share Posted April 30, 2013 Change the OSnapZ variable to 1. Quote Link to comment Share on other sites More sharing options...
No Clue Posted April 30, 2013 Author Share Posted April 30, 2013 Okay - thank you - that has helped, however, the cursor now doesn't snap to anything that isn't on level 0. So, is there a way in which it could still snap to 3D points whilst remaining in 2D? It may sound odd, but like I said, this is something they apparently do in Microstation, so of course AutoCAD must be able to do the same ;-) Quote Link to comment Share on other sites More sharing options...
alanjt Posted April 30, 2013 Share Posted April 30, 2013 It should still snap to non zero elevation points, it just won't extract the elevation. Are you working with extruded objects? Quote Link to comment Share on other sites More sharing options...
No Clue Posted April 30, 2013 Author Share Posted April 30, 2013 No, not really, these are 3D objects (some inserted and some created in AutoCAD). I did just try it with an extruded object and it only snaps to the points in 0, not the extruded part. Quote Link to comment Share on other sites More sharing options...
alanjt Posted April 30, 2013 Share Posted April 30, 2013 No, not really, these are 3D objects (some inserted and some created in AutoCAD). I did just try it with an extruded object and it only snaps to the points in 0, not the extruded part. Ehh, little out of my league. I work in civil 3d, which has 3d objects, but they dont' function the same as regular ones. I fear this may be a situation where you have to just toggle the variable. You could use this as a OSnapZ toggle: (defun c:test (/) (setvar 'OSNAPZ (abs (1- (getvar 'OSNAPZ)))) (princ)) Quote Link to comment Share on other sites More sharing options...
No Clue Posted April 30, 2013 Author Share Posted April 30, 2013 Thanks, I will try that - you have helped a lot!! Quote Link to comment Share on other sites More sharing options...
alanjt Posted April 30, 2013 Share Posted April 30, 2013 Thanks, I will try that - you have helped a lot!! No problem. If you do decide to use the command, you can easily change the command name by replacing "test" with whatever you like. I'd pick something short. If you assign this to a button, be sure to put an apostrophe ' in front of the command so it can be executed transparently. Quote Link to comment Share on other sites More sharing options...
Dadgad Posted April 30, 2013 Share Posted April 30, 2013 If alanjt's solution doesn't do it for you, then try this option on the drafting tab of your OPTIONS. Quote Link to comment Share on other sites More sharing options...
alanjt Posted May 1, 2013 Share Posted May 1, 2013 If alanjt's solution doesn't do it for you, then try this option on the drafting tab of your OPTIONS. Same effect. All three deal with the OSNAPZ system variable. Quote Link to comment Share on other sites More sharing options...
SLW210 Posted May 1, 2013 Share Posted May 1, 2013 See I WISH EVERYTHING WERE FLAT at Cadalyst. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.