Line with coordinates Revit

Hi Are there someone who can help me to make a line in Revit, using coordinates from a excel sheet. I’ve made it this far until now :

It’s hard to tell exactly how to parse out the points from your Excel file without seeing the file, but it seems like you’re on the right track. In terms of drawing a line, however, I think you could look at Line.ByStartPointEndPoint.

ModelCurve.ByCurve will turn that line into a model line in Revit.

Hi Jimmy

I did something similar recently

It depends if you want a segmented line, straight between each point, or a curved line through all points.

If a segmented line, you need to go from point A–> B, then point B --> C etc so it complicates the list a bit.

20160202 dyn 01

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If the curve, then it is a bit simpler.

20160202 dyn 02

 

 

 

 

 

 

 

 

 

 

 

 

Refer attached files:

20160202 line from Excel, containing options for

>segmented line between points

>adaptive family between points

>curve between points

20160202 line from Excel

2 point line

 

Andrew

 

 

 

1 Like

Thanks for the help Andrew and Eric, I manage to make a line after coordinates in Revit! :slight_smile:

thanks a lot !