CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 5631
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

 

HelpCAD discussion

 
CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.

How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closedflatten all drawing in single command

 Post Reply Post Reply
Author
deal View Drop Down
Newbie
Newbie


Joined: 11.Feb.2013
Location: Malaysia
Using: auto2011
Status: Offline
Points: 3
Direct Link To This Post Topic: flatten all drawing in single command
    Posted: 04.Mar.2014 at 20:11
morning all

i try "flatten"command but not exist in autocad lt2014

pleasee... tq..Embarrassed
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2018
Direct Link To This Post Posted: 04.Mar.2014 at 23:24
You have to add the mentioned macros to your menu. They are not calling any "flatten" command.
Vladimir Michl (moderator)
Arkance Systems - arkance-systems.cz - Autodesk reseller
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 04.Mar.2014 at 23:52
Another option would be to use the old CHANGE command and the ELEVATION option. 
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
deal View Drop Down
Newbie
Newbie


Joined: 11.Feb.2013
Location: Malaysia
Using: auto2011
Status: Offline
Points: 3
Direct Link To This Post Posted: 05.Mar.2014 at 03:32
morning Big smile

macros ????.where can i find macros menu icon or macros command ...

tq...Big smile
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 05.Mar.2014 at 11:37
dude, buy a pair of glasses!  The link that YOU included in YOUR first post has the macros in it!  What, we have to do everything for you?  Here they are again.  I changed the color to red and made them larger so you wouldn't miss them.

Add a new macro (icon) to your toolbar - in fact two single-line macros (tool buttons) - one for selected objects and the second for all objects:
[FlattenSel]^C^C_UCS;;_select \_move _p;;0,0,1e99;;_move _p;;0,0,-1e99;;

[FlattenAll]^C^C_UCS;;_move _all;;0,0,1e99;;_move _all;;0,0,-1e99;;
_chprop;_all;;_thickness;0;;
(keep the macro text on a single line; the displayed format is to be used for old MNU/MNS files - if you add the macro through the new CUI dialog, use just its code starting with ^C)

Do not use it on 3D solids as it may distort them.

 
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
rs_higgins View Drop Down
Groupie
Groupie


Joined: 03.Dec.2013
Location: United States
Using: AutoCad 7-2020, SW 14, PRO-E died
Status: Offline
Points: 75
Direct Link To This Post Posted: 05.Mar.2014 at 20:41
uploads/427067/flat.lsp

EASY John go outside and smoke a cigarette and calm you nerves.

Most AutoCad classes teach you how to draw not how to write or install macro's

Here is something you can use that will do your entire drawing.

Not just one item at a time

Flatten your drawing as though you where looking at it from the top

First you will need to load this in AutoCAD

Note where you save this file to your lisp file location> c:\lispfiles\Flat.lsp

This is where I keep all my lisp files

Then in the command line type.. (load "c:/lispfiles/flat") YEP use the parenthesis

Note use forward / when typing you file location

You can do a little research and find the lisp file location that will auto load this each time you open AutoCAD and drop the file in that folder


No electrons were harmed in the making of this post. I will admit a few protons were momentarily Inconvenienced
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 05.Mar.2014 at 22:55
Higgy my man.  Did you happen to notice that the original poster is using AutoCAD........wait for it........LT!

As nice as that lisp might be it won't do him a bit of good.  That's why the macros (two) or the old Change command would be the first two options worth trying.  There are a couple of more LT users can try but let's not get the OP any more confused than he already is.

I don't smoke but I do inhale once in a while.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
rs_higgins View Drop Down
Groupie
Groupie


Joined: 03.Dec.2013
Location: United States
Using: AutoCad 7-2020, SW 14, PRO-E died
Status: Offline
Points: 75
Direct Link To This Post Posted: 05.Mar.2014 at 23:17
Then would you like to take some time and teach him how to use the macro's or just keep hitting when he is down. he came fro help. Not to get his glasses knocked off.

Deal: sorry I did miss the LT and John is right there the lisp will not work for you.

OK see Pup you can be funny "I don't smoke but I do inhale once in a while."                   once in a while.

No electrons were harmed in the making of this post. I will admit a few protons were momentarily Inconvenienced
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 05.Mar.2014 at 23:29
Put your glasses on Higgy.  The instructions are given above the macro.  If the OP checks his Help files re: creating a toolbar he will find instructions courtesy of the Customization Guide that comes with AutoCAD 2014. 

OK...the solution came to me in a dream last night.

Higgins will post his email address.  Deal will email him the drawings.  Higgins will flatten them using the lisp routine he mentioned then he will email the drawings back to Deal.  Deal is happy as his drawings are fixed.  Higgins is happy that he has helped a fellow human being and his place in heaven is once again assured.  And I'm happy because I had a dream that helped the both of them.

God!  It is great to be alive!


Edited by John Connor - 06.Mar.2014 at 09:45
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,469 seconds.