drawing model lines using coordinates

drawing model lines using coordinates

NERDASORUS
Advocate Advocate
12,594 Views
14 Replies
Message 1 of 15

drawing model lines using coordinates

NERDASORUS
Advocate
Advocate

as the title suggests, how to draw model lines using coordinates ?

thanks in advance

0 Likes
Accepted solutions (1)
12,595 Views
14 Replies
Replies (14)
Message 2 of 15

Mirko.Jurcevic
Collaborator
Collaborator

This is not possible in Revit.

It can be done with Dynamo, however.

If this solved your issue, please Accept it as Solution help other forum users with similar issues to find answers easily.
  
Mirko Jurcevic


My blog: www.engipedia.com
Try my Revit add-ins: Autodesk App Store
0 Likes
Message 3 of 15

Ahmed_Muharram
Advisor
Advisor

I didn’t try it but you may draw any line and put spot coordinates then move or edit to the needed coordinates 

or use dynamo to draw it using nodes 

Ahmed Heteba, PMP, bsi, B.Sc, AEE, ACI, ACP
Senior BIM Manager @ EllisDon
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 4 of 15

Mirko.Jurcevic
Collaborator
Collaborator

@Ahmed_Muharram wrote:

I didn’t try it but you may draw any line and put spot coordinates then move or edit to the needed coordinates 


That is not possible. Spot coordinates do not know that it is on the line's end nor you can edit spot coordinate's values.

 

If this solved your issue, please Accept it as Solution help other forum users with similar issues to find answers easily.
  
Mirko Jurcevic


My blog: www.engipedia.com
Try my Revit add-ins: Autodesk App Store
0 Likes
Message 5 of 15

Mirko.Jurcevic
Collaborator
Collaborator

Someone made a video about creating lines with coordinates using Dynamo, here:

https://knowledge.autodesk.com/support/revit-products/getting-started/caas/screencast/Main/Details/f...

440a-848b-11fae19b129c.html

 

The problem with Dynamo approach is that you will need copy/paste-to-the-same place every time you want to keep the line and create a new one, since Dynamo changes existing line, even if you shut it down and run again.

If this solved your issue, please Accept it as Solution help other forum users with similar issues to find answers easily.
  
Mirko Jurcevic


My blog: www.engipedia.com
Try my Revit add-ins: Autodesk App Store
Message 6 of 15

NERDASORUS
Advocate
Advocate

Thank you so much for you answer, im not very experienced with dynamo. is there any video or screen cast to draw a polyline from an excel sheet?
i have looked high and low, but nothing...

0 Likes
Message 7 of 15

Mirko.Jurcevic
Collaborator
Collaborator

It's possible to pull coordinates directly from excel file and create lines with Dynamo.

Can you provide sample Excel file with coordinates?

If this solved your issue, please Accept it as Solution help other forum users with similar issues to find answers easily.
  
Mirko Jurcevic


My blog: www.engipedia.com
Try my Revit add-ins: Autodesk App Store
0 Likes
Message 8 of 15

NERDASORUS
Advocate
Advocate

sure, attached you will find an excel file with coordinates for 27 points.

 

could you please show me how you are going to do it.

thanks in advance

0 Likes
Message 9 of 15

Mirko.Jurcevic
Collaborator
Collaborator
Accepted solution

I assumed it's the series of points.

Here's what I get it (Revit project is in meters, I assumed your points are in meters);

coordinates.PNGcurve.PNG

 

And here's the dynamo script:

Dynamo.png

If this solved your issue, please Accept it as Solution help other forum users with similar issues to find answers easily.
  
Mirko Jurcevic


My blog: www.engipedia.com
Try my Revit add-ins: Autodesk App Store
Message 10 of 15

NERDASORUS
Advocate
Advocate

Thank you so much for your help, i have two questions though:

1-it seems that the line is drawn in segments, is there a way to link them all together (like a polyline in autocad)

2-is there a way to move the views on the line drawn, like it is drawn in the middle of the cross (north, east, west and south)

0 Likes
Message 11 of 15

Mirko.Jurcevic
Collaborator
Collaborator

@NERDASORUS wrote:

Thank you so much for your help, i have two questions though:

1-it seems that the line is drawn in segments, is there a way to link them all together (like a polyline in autocad)


No, Revit has no option to draw polyline-like objects. Nor you can convert anything to it since polylines do not exist in Revit.

To have it as "a whole" you can select everything and group it, but I believe that's not what you are looking for.

 

 


@NERDASORUS wrote:

2-is there a way to move the views on the line drawn, like it is drawn in the middle of the cross (north, east, west and south)


Not sure I understand what you want to achieve?

Sure you can move views in Revit wherever you want, you can use sections or elevations. Also, in Revit, you should always move views towards model elements, not model elements towards some view.

 

Also, if you missed my tip: Dynamo works with Revit project units, so if your Excel coordinates are in meters, you should set Revit project in meters as well to have Dynamo put points in meters. Otherwise, if your Excel coordinates are in meters, Revit project in millimeters, Dynamo will put it in Revit in millimeters.

I am repeating this just to make sure your lines are not "too small" or "too big".

If this solved your issue, please Accept it as Solution help other forum users with similar issues to find answers easily.
  
Mirko Jurcevic


My blog: www.engipedia.com
Try my Revit add-ins: Autodesk App Store
0 Likes
Message 12 of 15

NERDASORUS
Advocate
Advocate

thank you so much for following up.

what i want to do is i want to 3d model a bridge, all the workflows i've found consisted of either outdated nodes for dynamo, or i have to be an expert using civil 3d and then migrate the works to revit. im not very good using either civil 3d or dynamo.

So i figured it would be easier if i just drew the alignment of the bridge (which is the line i want to draw in revit) then extrude the cross-section of the bridge along it (i hope im delivering the idea here!) this is way easier, or at least that's what i think.

The reason for the second question top, is that the first point starts at 260000s and 160000s so when i draw the line using the custom node you kindly provided, the line is way out of the center of the views, the reason i want it with the correct coordinates, is that i want to try to migrate the model to infraworks.

 

0 Likes
Message 13 of 15

Mirko.Jurcevic
Collaborator
Collaborator

You can model bridge structure with that alignment, but it may be better to use what dynamo modelled for you and manually add straight segments and arches. Then use sweep or sweep blend model in place tool to model the structure.

 

The question about views is still unclear to me, do you want to achieve this? :

views.PNG

 

If yes, then first, go to floor plan and:

- uncheck crop view and crop region visible in the instance properties of the view

- edit view range and set "cut plane" to 50m and "top" to 50m, "bottom" and "View depth" to "unlimited", now you will see the alingment

- change the view scale to 1:1000 or something to better see elevation marks if you are zoomed out

- move the elevation marks where needed

- click on their arrow and change "Far Clipping" property to "No clip"

If this solved your issue, please Accept it as Solution help other forum users with similar issues to find answers easily.
  
Mirko Jurcevic


My blog: www.engipedia.com
Try my Revit add-ins: Autodesk App Store
Message 14 of 15

MuthuGanesh.S
Explorer
Explorer

I have been working with dynamo and i find it quite amazing . I was trying out a script to place tunnel rings along alignment coordinates (x,y,z ) . it runs successfully . Now there is a small issue . Since the tunnel rings are of a fixed length, while placing the tunnel rings  on curves there is a small gap at the outer curvature radius and a small overlap at the inner curvature radius . What i am trying to achieve is the seamless connection of rings without any gaps or overlaps , but m failing even after repeated trials . as long as the tunnel runs straight there are no gaps/overlaps but in curvature , the problem persists !!   Then one of my senior gave me the idea to make the ring family into 6 or 8 segment adaptive components then it might solve the problem. I tried searching online for lot of samples but i cloud in . from modelling point of view i am unable to achive it . Tried face based along with adaptive family but doesn't seem to work.    Can anybody please guide me with the workflow for this ??

0 Likes
Message 15 of 15

MuthuGanesh.S
Explorer
Explorer

I have been working with dynamo and i find it quite amazing . I was trying out a script to place tunnel rings along alignment coordinates (x,y,z ) . it runs successfully . Now there is a small issue . Since the tunnel rings are of a fixed length, while placing the tunnel rings  on curves there is a small gap at the outer curvature radius and a small overlap at the inner curvature radius . What i am trying to achieve is the seamless connection of rings without any gaps or overlaps , but m failing even after repeated trials . as long as the tunnel runs straight there are no gaps/overlaps but in curvature , the problem persists !!   Then one of my senior gave me the idea to make the ring family into 6 or 8 segment adaptive components then it might solve the problem. I tried searching online for lot of samples but i cloud in . from modelling point of view i am unable to achive it . Tried face based along with adaptive family but doesn't seem to work.    Can anybody please guide me with the workflow for this ??

0 Likes