Jump to content

Recommended Posts

Posted

Hello, is there way to do that (on the name of threat). I mean like select two or more hatches and in the properties you can see the cumulative area. I have a lisp to sum all lenths and areas of plines in selected layer but I want to have the cumulative area of two or more polylines. I use and the command "area" but it is so slow (select obj, ... add and so on), and the selected polylines is not visible (I mean I don't know which poly I choose and make correction to select and unsel.). Thanks.

Posted

Try a search of the site for "area lisp". I've seen a Lisp routine for cummaltive area at Cadalyst magazine (Tool Tips) and at CAD Corner Canada.

Posted

It's perfect and usefully too. I wonder if this can replace my attribute with (in battorder) 1-st - name of the room, 2-nd - the area, and 3-rd the perimeter ... ( the first I'll have to write :))

  • 4 years later...
Posted

Hello Mr. Lee Mac, can you help me with my problem? How can i get the cumulative area of various closed object and display it automatically in the properties like in auto CAD 2004? because if i select more than one object, it displays VARIES. and also the cumulative lengths? and if you will give me codes like what you have been advising to others who were asking help from you, how can i use these codes? where will i paste it? thank you so much. I will greatly appreciate if you could help me with this, PLEASE....

Posted

Those codes, as you call them, are lisp routines. They can be loaded using the APPLOAD command in AutoCAD as one option. Then you have to know what the command name is to run the code. This is not always clearly stated depending on who wrote the program and/or where you got the program from. If in doubt open the lisp program using Notepad. Look for a line that starts with this: defun c: Whatever follows should be the command to type in at the command line to execute the code.

 

To learn more about AutoLisp, as it is called, click on the link to Lee Mac Programming contained in post #5 above. Lee has graciously provided a short tutorial about loading lisp programs at his website.

Posted

Hello Mr. ReMark, thank you so much, but i followed all the steps..and still the same, i also opened a link from Mr. Lee mac's programming, but i still cant see, or dispalys automatically the cumulative are and lengths in geometry portion under properties. i also appload and was also successfully loaded the codes..,i have been thinking maybe the problem is my auto cad which is 2010 and i am using a 64 bit windows 8..is it possible to run this code? thank you so much

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...