i am working on following Task: My aim is to add the value of the nearest grid intersection to a window Family/room.
I was able to extract the intersection Points of the Grid in a list and also extract the midpoint (bottom) of the Windows. Now i tried to compare the two list to identify the nearest Point, but in my Dynamo (ver. 1.3.1.0) the “Get Closest N Points” won’t work anymore. There are a new package available?
Further, i dont know how to get Access to the bubbles of eaxh gridline, because i will add this value into the ID Data field Parameter “Kennzeichen”, for example “A/5”.
Maybe someone can push me into the right direction?
@Vikram_Subbaiah: Thanks for your reply and your help. The script is doing well! One question is left: Imagine that the midpoint of the Windows which i grab with the “FamilyInstance.Location” is exacltly in the middle of two axes. Which one will the script take? The left or the right one? Maybe i can control this?
Thanks @Vikram_Subbaiah!! This script is exactly what i was looking for to identify the grid intersection, how would you add the distances for each grid like the column location mark. I am using it for Pipe Accessories to identify shut off valves. for example C(-100)-1(350)?
Thank You @Vikram_Subbaiah for the help, i have checked it with pile foundation, but the distance taking is very high, i am new to dynamo and learning the lacing concepts.
Is it depend on project base point? it is not in 0 (Zero) but about 98800.000mm how to control this while reporting distance?
Also can you suggest me any package or node to get the start point and end point of structural framing like here used Familyinstance.location (it is not taking for framing)
Hey sir, I tried the script with columns but it doesn’t seem to work. Actually column are on the grid, I just want to assign the grid number and letter for each columns on grids. The script must be similar… But how to define what is the intersection point in curves? I have errors in geometry.DistanceTo in your script. As soon a I poot List.Lastitem and List.Firsitem , it is making an error. Can you help me define the interesection position and “assign” column to these points please? thanks for your help!