ayman_48 Posted September 18, 2012 Share Posted September 18, 2012 hi all i wish if someone help he my problem is :- i want to move all my 2d drawing (lines+dimension+block....) to 0 level in z axie without changes in x,y plane Quote Link to comment Share on other sites More sharing options...
Tiger Posted September 18, 2012 Share Posted September 18, 2012 - Command FLATTEN could work. - if everything is on the same Z-level, then you can use MOVE and just move in Z-direction - you can hightlight everything, then look at the Properties pane and change the Elevation per object-group. Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 18, 2012 Share Posted September 18, 2012 See post #2 of this thread. "How to flatten entities in AutoCAD Z=0.doc". http://www.cadtutor.net/forum/showthread.php?70222-z-levels-and-layers&highlight=flatten Quote Link to comment Share on other sites More sharing options...
ayman_48 Posted September 19, 2012 Author Share Posted September 19, 2012 i use this lisp and already make all the drawing z=0 but some element moved in x,y FLATTEN.LSP as originally written by Mark Middlebrook with improvements by Vladmir Livshiz. FLATTEN.LSP sets the Z-coordinates of these types of objects to 0 ;;; in the World Coordinate System: ;;; "3DFACE" "ARC" "ATTDEF" "CIRCLE" "DIMENSION" ;;; "ELLIPSE" "HATCH" "INSERT" "LINE" "LWPOLYLINE" ;;; "MTEXT" "POINT" "POLYLINE" "SOLID" "TEXT" Link: http://www.spaug.org/Public_Files/AutoLISP/Flatten.Lsp Quote Link to comment Share on other sites More sharing options...
ayman_48 Posted September 19, 2012 Author Share Posted September 19, 2012 - Command FLATTEN could work.- if everything is on the same Z-level, then you can use MOVE and just move in Z-direction - you can hightlight everything, then look at the Properties pane and change the Elevation per object-group. the second solution is good by choosing end z=0 but i think it's working in line only Quote Link to comment Share on other sites More sharing options...
Dadgad Posted September 19, 2012 Share Posted September 19, 2012 If you first select everything on your screen, then you can select all of the LINES from the dropdown entity filter on the QUICK PROPERTIES palette like in this image. If you have some lines which are not flat, you will see VARIES in one or more of the Z VALUE boxes. Reset the START Z value to 0, then reset the END Z value to 0. Having done that you will see that the DELTA (difference) Z value will now be 0, meaning that all of the LINES in your drawing are FLAT and at 0 on the Z axis. Now you can use the CHANGE command ..... follow the commandline which I have copied below.... Command: cg CHANGE Select objects: Specify opposite corner: 3653 found Select objects: Specify change point or [Properties]: p Enter property to change [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness/TRansparency/Material/Annotative]: e Specify new elevation : 0 Then hit ENTER two times after entering the new elevation as 0. This won't zero out Multilines, but will do just about all other 2D entity types. Quote Link to comment Share on other sites More sharing options...
Tiger Posted September 19, 2012 Share Posted September 19, 2012 The command FLATTEN flattens all your objects in the view you are looking at it. So if you have tilted or turned the drawing before you run FLATTEN, you will get objects to move in X-Y as well. Beside that, depending on the objects, I have also had objects move seemingly random when useing FLATTEN - which is why I prefer either MOVE or via the Properties palette. It takes more time, but I have more control over what I do. the second solution is good by choosing end z=0 but i think it's working in line only I think you mean the third solution - the Properties pane? It works with most objects-groups, you just need to step through them and find the Elevation-line for each. edit- I always forget about the CHANGE-command! Good one Dadgad! Quote Link to comment Share on other sites More sharing options...
Dadgad Posted September 19, 2012 Share Posted September 19, 2012 Tiger, have you ever tried setting up your QUICK PROPERTIES palette? Meaning going through all of the options available within the CUI, you can select for all of the different entity types the information that you would like shown on the QUICK PROPERTIES palette, also how it behaves in the DRAFTING SETTINGs dialog. It is so much easier than using PROPERTIES, because it only shows you the information you tell it to. I love it. Quote Link to comment Share on other sites More sharing options...
Tiger Posted September 19, 2012 Share Posted September 19, 2012 Yep, I found those settings very recently and tweaked a lot of it - after I found out how to make the QP-panel stay where I put it and not show up wherever I was waving my mouse This was also at the same time I realised that if I don't have the Properties, X-ref and Layer panes open at all times, my AutoCAD runs smoother... Quote Link to comment Share on other sites More sharing options...
Dadgad Posted September 19, 2012 Share Posted September 19, 2012 I run mine STATIC, not cursor dependent, as that bugs me. For those who don't want to see it whenever something is selected on screen, there is also the AUTO COLLAPSE option, so it only displays if you mouse over it. I would be lost without it, I use it for so many different things. Nice because it has the entity filter drop down too. Quote Link to comment Share on other sites More sharing options...
ayman_48 Posted September 19, 2012 Author Share Posted September 19, 2012 thank's for help line solution is good but when use change command this message appear Cannot change elevation of objects with differing Z coordinates. Quote Link to comment Share on other sites More sharing options...
ayman_48 Posted September 19, 2012 Author Share Posted September 19, 2012 thank's for Tiger ,ReMark ,Dadgad the problem was sloved by choosing z value=0 from QUICK PROPERTIES palette Quote Link to comment Share on other sites More sharing options...
Dadgad Posted September 19, 2012 Share Posted September 19, 2012 thank's for Tiger ,ReMark ,Dadgad the problem was sloved by choosing z value=0 from QUICK PROPERTIES palette That is the exact reason that I told you to do it in the order that I gave it to you. First you flatten any errant geometry, then you fix the elevations of all the other stuff. Glad it worked for you. 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.