Draw lines at shared coordinates?

Hello,
how do we draw lines using shared coordinates?

I spent all morning trying to draw a line.

I tried to use point conversion nodes, but none of the resulting lines are anywhere near the shared coordinates they are supposed to be.

I am going to use Autocad, but it would be nice to know how we draw stuff using shared coordinates in Revit.

Thank you

Have a look at my post here which may be able to assist

oops, I replied to the wrong thread!

Replying here as the other thread is a different question

You will notice that the solution deals with the coordinates from Excel transposed i.e. [[x, x, x, x...], [y, y, y, y...]], however you are inputting [[x, y], [x, y]] so the way that Dynamo processes your values ends up like this [[x-a, y-a], [x-b, y-b]]. You will need to transpose.

Further, because you have only used two points, the coordinates are processed without warning or truncation which may have provided a clue otherwise.

I originally used coordinate systems because this is a convenient way of placing families. You don’t need to use coordinates and you have also ‘doubled’ your points location by adding their value to their coordinate system as the origin of each system is the intended point in space

I think you would have noticed this if you had created a line in Revit placed some coordinate markers on the endpoints.

Anyhow, try this

Thank you Mike,

good suggestions.

Here is the working graph:

1 Like