Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to determine the total length of multiple lines

58 REPLIES 58
SOLVED
Reply
Message 1 of 59
lucilarosso
150653 Views, 58 Replies

How to determine the total length of multiple lines

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?

 

 

58 REPLIES 58
Message 2 of 59
scott_d_davis
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
Sr AEC Technical Specialist
Message 3 of 59

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.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Autodesk Expert Elite (on Revit) | Profile on Linkedin
Message 4 of 59

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!

 

Message 5 of 59

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.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Autodesk Expert Elite (on Revit) | Profile on Linkedin
Message 6 of 59
rosskirby
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
Principal
Dynamik Design
www.dynamikdesign.com
Message 7 of 59
lucilarosso
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.

 

Message 8 of 59

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?"


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Autodesk Expert Elite (on Revit) | Profile on Linkedin
Message 9 of 59
rosskirby
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
Principal
Dynamik Design
www.dynamikdesign.com
Message 10 of 59
lucilarosso
in reply to: rosskirby

Thanks! I'll give it a try.

Message 11 of 59
eigio
in reply to: lucilarosso

Use this lisp to do the trick:

 

Message 12 of 59
Alfredo_Medina
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.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Autodesk Expert Elite (on Revit) | Profile on Linkedin
Message 13 of 59
peterlyh
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.

Tags (3)
Message 14 of 59
obermeyerdc
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.  

Message 15 of 59

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.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Autodesk Expert Elite (on Revit) | Profile on Linkedin
Message 16 of 59
brian
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!

Message 17 of 59
Alfredo_Medina
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.

 


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Autodesk Expert Elite (on Revit) | Profile on Linkedin
Message 18 of 59
micheal.saad
in reply to: rosskirby

I WANT TO MEASURE PART OF ELECTRICAL CIRCUIT LENGTH

Message 19 of 59
mcannon
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.

Message 20 of 59
chrisplyler
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?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report