AutoCAD 2013/2014/2015

Reply
Distinguished Contributor
Anthony
Posts: 385
Registered: ‎10-03-2011
Message 1 of 6 (152 Views)
Accepted Solution

Looking for a way to calc lengths of multiple blocks

152 Views, 5 Replies
07-24-2012 01:08 AM

Are there any working .arx files or lisp routines that would enable me to calculate a total length of multiple blocks ? I know there is TLEN out there but this does't work for blocks, I need something that will calc combined lenghts of my user defined blocks which are basically simple lines of varying lenghts. Thanks

Anthony Goodwin ~ Cad Manager/Senior Designer
Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
*Expert Elite*
Posts: 1,377
Registered: ‎08-16-2007
Message 2 of 6 (142 Views)

Re: Looking for a way to calc lengths of multiple blocks

07-24-2012 04:57 AM in reply to: Anthony

Blocks don't have a length property.  What are you tabulating?  Does the block contain a single line?

Distinguished Contributor
Anthony
Posts: 385
Registered: ‎10-03-2011
Message 3 of 6 (135 Views)

Re: Looking for a way to calc lengths of multiple blocks

07-24-2012 07:10 AM in reply to: dbroad

Thanks yes I realize blocks do not have a length, I just thought there might be a lsp routine or some similar arx function which could identify the lengths of the plines within the blocks and provide a total. My blocks only contain one single pline with a predetermined length.

Anthony Goodwin ~ Cad Manager/Senior Designer
Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
*Expert Elite*
Posts: 1,377
Registered: ‎08-16-2007
Message 4 of 6 (113 Views)

Re: Looking for a way to calc lengths of multiple blocks

07-25-2012 06:20 AM in reply to: Anthony

The attached lisp should work.

Distinguished Contributor
Anthony
Posts: 385
Registered: ‎10-03-2011
Message 5 of 6 (105 Views)

Re: Looking for a way to calc lengths of multiple blocks

07-25-2012 08:58 AM in reply to: dbroad

Perfect ! Just what I was looking for, works a treat. Many thanks. :smileyhappy:

Anthony Goodwin ~ Cad Manager/Senior Designer
Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
*Expert Elite*
Posts: 1,377
Registered: ‎08-16-2007
Message 6 of 6 (96 Views)

Re: Looking for a way to calc lengths of multiple blocks

07-25-2012 11:07 AM in reply to: Anthony

You're welcome.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community




Connect with AutoCAD

Twitter

Facebook

Blogs

Pinterest

Youtube