Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.

Revit Architecture Forum

Reply
Highlighted
Post 1 of 36
Accepted Solution

How to determine the total length of multiple lines

76736 Views, 35 Replies
01-18-2012 10:47 AM

This is something that used to be very easy to do in autocad (with a polyline) and checking the lenght on the properties bar.

When I select multiple lines (chain of lines) the "lenght" data is greyed out.

I hate having to measure every segment separately! It has to be easier... right?

 

 

It's actually not that hard, even though it sounds a little complicated.  The method I use is shamelessly stolen from Steve Stafford's blog, where he provides the families and schedules you'll need to get the job done.

 

http://revitoped.blogspot.com/2007/01/egress-path.html

Post 2 of 36

Re: How to determine the total length of multiple lines

01-18-2012 11:47 AM in reply to: lucilarosso

use the Measure tool, using measure between two elements, ad check on the Chain option in the Options bar.



Scott D Davis
AEC Technical Specialist
North American Sales
Autodesk, Inc.

Want Revit Content? Go to http://seek.autodesk.com !

Post 3 of 36

Re: How to determine the total length of multiple lines

01-18-2012 11:59 AM in reply to: lucilarosso

Or, maybe faster, without checking Chain, is: Measure > Measure Along an Element. Hover the mouse over the first item, hit the tab key, and click. The result of the total length would be in the options bar.


-----------------------------------------------------------------------------------------------------------------------------------------------
BIM Manager at Universal Creative, Orlando | Planta1 Revit Online Consulting | email | Twitter | LinkedIn | Blog
Post 4 of 36

Re: How to determine the total length of multiple lines

01-18-2012 12:25 PM in reply to: Alfredo_Medina

It seems that both solutions involve measuring again everytime the chain of lines are modified. Not ideal to me.

A friend suggested using a spline line with a very tight radius at the corner- it generates an overall lenght on the properties. Seems to be working. Thanks!

 

Post 5 of 36

Re: How to determine the total length of multiple lines

01-18-2012 12:54 PM in reply to: lucilarosso

Not a good advice from your friend. Splines have other issues. Have you tried to use Trim/Extend with splines? You are creating a new set of issues for not doing one extra click with the Measure tool.


-----------------------------------------------------------------------------------------------------------------------------------------------
BIM Manager at Universal Creative, Orlando | Planta1 Revit Online Consulting | email | Twitter | LinkedIn | Blog
Post 6 of 36

Re: How to determine the total length of multiple lines

01-18-2012 02:03 PM in reply to: lucilarosso

Can you tell us specifically what you're trying to measure?  If it's path of travel, then I'd recommend using a line-based generic model element, and then generating a schedule that stays up-to-date with the total length.  If it's something else, there might be a better way, but it's hard to say without knowing exactly what you're doing.

Ross Kirby
Project Manager
The Preston Partnership
Post 7 of 36

Re: How to determine the total length of multiple lines

01-18-2012 03:08 PM in reply to: lucilarosso

Correct: I am trying to measure a path of travel.

What you are suggesting sounds quite complex ....  Wonder whether I might as well measure every line instead.

But if not too much trouble, I am curious to hear more.

 

Post 8 of 36

Re: How to determine the total length of multiple lines

01-18-2012 08:38 PM in reply to: lucilarosso

Then the proper question to start this thread with was "How to create and measure an egress path?" instead of "How to determine the total length of multiple lines?"


-----------------------------------------------------------------------------------------------------------------------------------------------
BIM Manager at Universal Creative, Orlando | Planta1 Revit Online Consulting | email | Twitter | LinkedIn | Blog
Post 9 of 36

Re: How to determine the total length of multiple lines

01-19-2012 05:55 AM in reply to: lucilarosso

It's actually not that hard, even though it sounds a little complicated.  The method I use is shamelessly stolen from Steve Stafford's blog, where he provides the families and schedules you'll need to get the job done.

 

http://revitoped.blogspot.com/2007/01/egress-path.html

Ross Kirby
Project Manager
The Preston Partnership
Post 10 of 36

Re: How to determine the total length of multiple lines

01-19-2012 06:45 AM in reply to: rosskirby

Thanks! I'll give it a try.

Post 11 of 36

Re: How to determine the total length of multiple lines

06-08-2012 03:19 AM in reply to: lucilarosso

Use this lisp to do the trick:

 

Post 12 of 36

Re: How to determine the total length of multiple lines

06-08-2012 04:50 AM in reply to: eigio

eigio wrote:

Use this lisp to do the trick:

 


Sorry. It won't work. The question is about Revit, not about AutoCAD.


-----------------------------------------------------------------------------------------------------------------------------------------------
BIM Manager at Universal Creative, Orlando | Planta1 Revit Online Consulting | email | Twitter | LinkedIn | Blog
Post 13 of 36

Re: How to determine the total length of multiple lines

09-17-2012 02:56 AM in reply to: lucilarosso

How I do so is to create a Railing type with 1x1mm rail at the floor level.

And override the graphics in view of that railing to show as dotted line.

 

Railing has the properties of the total length even though it is segmented.

Post 14 of 36

Re: How to determine the total length of multiple lines

12-28-2012 07:52 PM in reply to: lucilarosso

@ Alfredo_Medina

 

There are many reasons one might need to measure the length of multiple lines or walls.  Many more than just path of travel.  Zoning codes reference the length of walls to determine definition of basements.  They also reference percentage of existing non-conforming walls that may continue along a length of encroachment in a yard.  Architect's rely on CAD to define these dimensions for approvals.  

 

I don't make this point to correct you but to express to rosskirby that I share the frustration with Revit.  Not frustrated by the learning curve, we're way beyond that.  It's because the software fails miserably to meet many fundamental capabilities.  I can't' return to 2D CAD, and love Revit for that, but I often find it miserable to forge ahead.  There should not be Tips and Tricks and third party applications to make it perform as expected.  

Post 15 of 36

Re: How to determine the total length of multiple lines

12-29-2012 02:20 PM in reply to: obermeyerdc

I don't see your point.

 

If you want to measure the total length of multiple lines or walls, it can be done easily as explained in message # 3 in this thread.

 

If you want to measure an egress path, schedule the lengths, tag it, etc, then, you need some other tools, as explained in message # 9 by Ross Kirby, which includes a link to Steve Stafford's blog, who has explained the solution in his blog for several years.

 

Both needs have a solution, without using any tips and tricks or third-party applications, just using the native Revit tools.


-----------------------------------------------------------------------------------------------------------------------------------------------
BIM Manager at Universal Creative, Orlando | Planta1 Revit Online Consulting | email | Twitter | LinkedIn | Blog
Post 16 of 36

Re: How to determine the total length of multiple lines

02-25-2013 12:30 PM in reply to: rosskirby

I know this is a liitle late on this reply, I am looking for an answer to totaling the length of multiple lines.  I do site development and do feasiblity studies....for way too little feee, and don't want to spend the time redoing my planners less than perfect line work for "phone quote" probable costs.  I need to take a subdivision street centerline and total by selecting the all.  A very talented programmer....JW.... wrote a LSP for an earlier version and would have expected he pass that along in the new software.  I also do preliminary layouts of teh water, saniatary sewer systems, and drainage systems and would like to total those lengths also.

 

Thanks in advance!

Post 17 of 36

Re: How to determine the total length of multiple lines

02-25-2013 12:36 PM in reply to: brian

To measure total length of lines, please do as described in message # 3, above. It works on model lines, only, though; it does not work like that on detail lines.

 


-----------------------------------------------------------------------------------------------------------------------------------------------
BIM Manager at Universal Creative, Orlando | Planta1 Revit Online Consulting | email | Twitter | LinkedIn | Blog
Post 18 of 36

Re: How to determine the total length of multiple lines

04-19-2015 06:46 AM in reply to: rosskirby

I WANT TO MEASURE PART OF ELECTRICAL CIRCUIT LENGTH

Post 19 of 36

Re: How to determine the total length of multiple lines

05-21-2015 08:00 AM in reply to: lucilarosso

I know this post is a little old. But one way I measure multiple lines / polylines or anything else that has a length property in AutoCAD which I would think in theory work here as well is to use MTEXT. Sounds weird I know but here is what I do:

 

  1. Create a piece of MTEXT and select Field or insert field
  2. On the pop-up dialog change the "Field category:" to "Objects"
  3. Under "Field names:" select "Formula"
  4. Right-Click inside the box under "Formula:" and select "Insert Field..."
  5. On the new Field Dialog under "Field category:" select "Objects"
  6. Between "Object type:" and "Preview:" click the button, this will take you back to your drawing for you to select the object you're wanting to add to be measured. (NOTE: The initial Field dialog window might remain open, if it does you can drag it out of the way to make it easier to select your object.) After you select your object, you will be taken back to your "Second" dialog box window with all the selectable properties for that object listed under "Properties:". Look through the list and select whichever length option that is called for that object. (example: for a polyline it would just be "Length", for an Arc it would be called "Arc length".)
  7. Select the "Format:" you want to use for the value
  8. Select the "Precision:" you want
  9. Click the "OK" button
  10. The value for that property should be displayed in the "Formula:" box. Click after the value and you can now use the standard "+, -, *, /" for what you're wanting to do.
  11. Repeat steps 6 through 9 for each object that you want to be a part of your formula.
  12. After you've completed selecting all the objects you can click on the "Evaluate" button and the results should be displayed in the "Preview:" box.

I know this sounds like a little bit tedious but when you're finished, if and objects length gets changed, your calculation should update after you do a regen. And also please note, that if you erase an object you will have to edit the formula and erase that objects now unusable field from the formula, which can be easily done through the text editor.

Post 20 of 36

Re: How to determine the total length of multiple lines

05-22-2015 08:14 AM in reply to: mcannon

mcannon wrote:

I know this post is a little old. But one way I measure multiple lines / polylines or anything else that has a length property in AutoCAD which I would think in theory work here as well is to use MTEXT. Sounds weird I know but here is what I do:


You are aware that this thread is about Revit, right?

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post

Revit Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Revit helps you achieve greater speed, accuracy, and automation from concept to manufacturing.