Add families by coordinates

Hello everyone! Please help me find the mistake, this’s my first step in Dynamo.. I’m trying to place 9 trees, but in Revit they all export to one point :cry:

everything seems correct, your points looks diferent each other, some times the family (.rfa), the file (.rvt) and the dynamo scripts doesn’t work in the same units our proportions, it happens to me once that the family is so big and the points so near each other that seems that are in the same place, but in reality is that are so near each other, check your units perhaps that is your problem!! :cowboy_hat_face:

1 Like

As @gilberto.arechigaiba noted, I think you’ve got project units in millimeters, but the values of the trees are in meters. Try changing your project units to meters, then open Dynamo, then run the graph, then close Dynamo, and finally run revert the units change.

1 Like

Thanks! Unfortunately, that didn’t help :smiling_face_with_tear:

I’ve occasionally encountered bugginess around the lacing of the objects. You can be more explicit with the lacing to see if that helps. Try clicking the arrow vertical ellipsis in the bottom right of the by point node and selecting longest lacing. Then to be extra sure you can right click the arrow(>) to the right of the node inputs, select Use Levels, Set both to @L1 to flatten.

@uintellect

what sort of family is the tree ? i.e are you sure it can be placed anywhere or is it a hosted family ?(floor, toposurface etc)

where are the 9 trees located ??- this might give you a clue as to the problem

Dynamo works in the ‘world’ coordinate system, also known as the internal coordinate system - this is a locked system. There are two additional coordinates systems that both play a part in documenting a project - these can be moved and rotated as required.

To place a family by coordinates will require translation and rotation (after unit scaling)

Starting with coordinates in the project’s Survey Grid

Translate by taking the Survey Point location in Internal Coordinates, the internal offset, and then subtracting the Survey Eastings from X and Northings from Y to align to the Survey Grid orthogonally

Then rotate from orthogonal to true north by using the Project Base Point and the project’s rotation

This will provide the point from the Survey Grid in internal coordinates

Now you can place the family

The graph below provides a possible solution

This image is rotated to Project North (15 degrees) with a family placed with and without translation and rotation


1 Like