dynamo script help - coordinates

dynamo script help - coordinates

CLMSJ
Advocate Advocate
871 Views
25 Replies
Message 1 of 26

dynamo script help - coordinates

CLMSJ
Advocate
Advocate

Hi, could anyone pls help me with updating my coordinate script? its supposed to take coordinates from the survey point but it doesnt seem to be anymore. I think its taking coords from the origin? any help would be much appreciated. Many thanks in advance

 

CLMSJ_0-1788512330267.png

 

0 Likes
Accepted solutions (1)
872 Views
25 Replies
Replies (25)
Message 21 of 26

will_young
Advocate
Advocate

Not sure what the issue is, it works on the model you sent initially on my machine. If you post the model you have there I can check again and see if I can work out why it's not matching.

Message 22 of 26

CLMSJ
Advocate
Advocate

ye im confused aswell seen as its working your end. file attached

0 Likes
Message 23 of 26

will_young
Advocate
Advocate

Very strange.. I tested again and it works straight away, I'm not changing anything other than entering the XYZ parameter names and setting coordinate base to survey point.

 

will_young_0-1791269752007.png

 

I plotted the coordinates it's setting on your machine below and the piles are off by the same amount as if it's missing a step somehow.

will_young_1-1791270948496.png

 

 

Message 24 of 26

CLMSJ
Advocate
Advocate

i will try creating a new project and creating new piles to test it on. just have to finsih a job first. will let you know how i get on. Really appreciate the help

0 Likes
Message 25 of 26

CLMSJ
Advocate
Advocate

CLMSJ_0-1791367015327.png

Just created a new revit file, added four piles and run the script again, seems to work fine on the first go without moving the survey file from its original origin point.

 

 

CLMSJ_1-1791367273515.png

when i move the survey point and re run the script, it worked this time! dunno why it didnt the other day.

 

CLMSJ_2-1791367492584.png

now i moved the piles around and re run the script and it works perfect! 

 

Many thanks for your help on this will, very much appreciated 🙂 

Message 26 of 26

will_young
Advocate
Advocate

Great news, glad to help.

0 Likes