Hey Every one,
I’m wondering how could I create a script to identifies the position of the families according to the grid line. As the attached photo.
Thank you.
Hey Every one,
I’m wondering how could I create a script to identifies the position of the families according to the grid line. As the attached photo.
Thank you.
Thank you for replying. I actually have started my script like this, but I don’t have idea how to do the rest of it.
You want your script to put the same Number / Letter into the comments parameter?
Yes. Thank you for replying! I will check if it works.
Hi @titomoura
Right Click Geometry.DistanceTo node and change lacing to Cross Product
Thank you for responding me, but it still hasn’t worked.
Your list level on “First Item” / “List.IndexOf” is incorrect, but i shared the dyn file so you can just download that script with all lacing and list levels set correctly!
The file is corrupted, I’ve changed the Level but I couldn’t find List.IndexOf in my Dynamo, I’m using 1.3.2.2480. But Thanks anyway!
Oh that is why, i am using Dynamo 2.0.3, but glad that it works
Sorry but it didn’t work. I said thank you for you response. I actually download Dynamo 2.0.3 to run you script and tested it.
Oh sorry i misunderstood you then, does the version in 2.0.3 work for you? If it still doesnt work for you i would be glad to help you out further!
I’ve got this issue.
I actually have found a script that have done part of the job but it still hasn’t achieved what I want to.This script was able to rename one of the families according to the intersection where it was placed, but I need to rename it according to the grid line that it is in C-D/1-2.
Another issue that I found is the script “clash” when I select the ledgers(Structural framing family). It rename all the ledgers in the projects with the same location.
Thank you one more time and I apprecite your effort.
FamilyNearestGridLocation.dyn (24.4 KB)
Oh i see, you want to rename the Comment Parameter to have the closest Horizontal and Vertical Grid Line.
Let me take a look at that.
Hey, i have worked out a complete script, is this what you are looking for?
PS: I marked the nodes in which i changed the lacing / list level(s).
Left Side:
File: (Dynamo 2.0.3)
28-01-2020 Set Parameter By Name Closest Grid Name.dyn (43.6 KB)
Hi,
Thank you again, it runned but it doesn’t change the parameter.
That is very odd, could you maybe share a screenshot of your dynamo file? And also please unfold the list of the “SetParameterByValue” node. With that i mean that you can see the data that is going through the node.