Results 1 to 5 of 5

Thread: Sum of the perimeter of selected Polylines

  1. #1
    Member
    Join Date
    2005-11
    Posts
    3
    Login to Give a bone
    0

    Default Sum of the perimeter of selected Polylines

    Using area_add_object to sum the area of selected closed Polylines returns the total area of all selected Polylines and shows the individual area and perimeter of each Polyline.

    Does anyone know of a lisp routine for Acad 2000 that will also sum the preimeter from the area command or just sum the perimeter of selected polylines?

  2. #2
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,570
    Login to Give a bone
    0

    Default Re: Sum of the perimeter of selected Polylines

    Hi.

    Does any of the code in this thread help?

  3. #3
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: Sum of the perimeter of selected Polylines

    Quote Originally Posted by jaberwok
    Hi.

    Does any of the code in this thread help?
    No.

    Code:
     Command: plinelen
     Select object on layer:
     No plines found
    (fails on POLYLINE entities)

    But this one works: TLEN.LSP found at http://www.turvill.com/t2/free_stuff/index.htm
    R.K. McSwain | CAD Panacea |

  4. #4
    Member
    Join Date
    2005-11
    Posts
    3
    Login to Give a bone
    0

    Smile Re: Sum of the perimeter of selected Polylines

    Thanks for that I download and try it.

    J.T.

  5. #5
    Member
    Join Date
    2005-11
    Posts
    3
    Login to Give a bone
    0

    Default Re: Sum of the perimeter of selected Polylines

    rkmcswain wrote:

    (But this one works: TLEN.LSP found at http://www.turvill.com/t2/free_stuff/index.htm)

    Yes it worked a dream for me, thank you.



    jaberwok wrote:

    (Hi.

    Does any of the code in this thread help?)

    Yes it worked, sort of. It returned the total length of ALL p/lines on a layer not the selected one/s I wanted. But thanks for replying.

    J.T.

Similar Threads

  1. Replies: 3
    Last Post: 2014-08-05, 08:51 PM
  2. Replies: 7
    Last Post: 2014-04-18, 02:52 PM
  3. Replies: 3
    Last Post: 2013-06-08, 02:03 PM
  4. Get total length of selected Polylines
    By roygoncalves in forum AutoCAD General
    Replies: 4
    Last Post: 2006-11-07, 12:37 PM
  5. Replies: 7
    Last Post: 2006-10-25, 08:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •