dynamo script help - coordinates

dynamo script help - coordinates

CLMSJ
Advocate Advocate
786 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)
787 Views
25 Replies
Replies (25)
Message 2 of 26

Tom_Kunsman
Collaborator
Collaborator

You might find more help in the Dynamo forums than here. Might also consider asking Claude or some other AI agent, as those might be able to help, or even provide a python script.

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Message 3 of 26

CLMSJ
Advocate
Advocate

Hi, i cant find the dynamo forum, do u have a link?

0 Likes
Message 4 of 26

AEC_Revit_Lab
Participant
Participant

Your graph builds a translation from the Survey Point XYZ, so it misses the active shared-site rotation. Replace that transform chain with a Python node using `doc.ActiveProjectLocation.GetProjectPosition(point.ToXyz())`, then read EastWest, NorthSouth, and Elevation. That matches Revit’s Report Shared Coordinates. Hope this helps. If it solves the issue, you’re welcome to mark it as a solution so others can find it more easily.

Message 5 of 26

CLMSJ
Advocate
Advocate

Hi, many thanks for the reply much appreciated. However im totally new to dynamo and no idea how to do what you are describing. I got this script online which worked in last years version. Is it possible you could update it for me and send it back over so i can check it works? be much appreciated.

0 Likes
Message 6 of 26

pkomatlapalli
Community Manager
Community Manager

Hi @AEC_Revit_Lab ,

 

Could you please assist CLMSJ  if additional help can be provided.
Thank you for your time and assistance!
 

You found a post helpful? Then feel free to give likes to these posts!
Your question got successfully answered? Then just click on the 'Mark as solution' button.


Let us know how we did on Trustpilot.


Pavan Kumar
Community Manager

0 Likes
Message 7 of 26

CLMSJ
Advocate
Advocate

is there any help out there for this please? much appreciation in advance

0 Likes
Message 8 of 26

will_young
Advocate
Advocate

Hi mate, I might have a solution for you, can you post a Revit model that just contains 2 piles for me to test?

Message 9 of 26

lauri_barnhart
Autodesk
Autodesk

Hello, @CLMSJ.

 

Just checking in to see if you saw the outstanding request by will_young. If you can provide the Revit model here that would be greatly appreciated so we can continue to support you.

 

Thanks,


Lauri | Community Manager

Let us know how we did on Trustpilot.

0 Likes
Message 10 of 26

CLMSJ
Advocate
Advocate

hi many thanks for this. revit file and pile coord script attached. i did notice that when u run the script for the first time it works. but when you then move the survey marker and run the script again, it then doesnt work

0 Likes
Message 11 of 26

will_young
Advocate
Advocate
Accepted solution

Hi mate, I had a bit of time to rebuild the script and make it hopefully work for all situations.

Would be great if you can try the below and let me know if it works.

I made it so that it replicates the options you get for the Spot coordinate tool.

If you run in the player it gives the below inputs.

You just need to set up 3 parameters for eastings, northings & elevation.

 

will_young_0-1790859447568.png

 

Message 12 of 26

will_young
Advocate
Advocate

I just tested my end and it works fine on your Revit model with the below settings:

 

will_young_0-1790925017149.png

 

Message 13 of 26

CLMSJ
Advocate
Advocate

brillian will, thank you much appreciated. i will test it soon and let you know, im just working on an urgent project at the moment but will test it right after. 🙂 

Message 14 of 26

lauri_barnhart
Autodesk
Autodesk

Hello, @CLMSJ.

 

Sounds like your question has been resolved. If it has, would you be willing to clicking 'Accept Solution' on the post that helped resolve your question? 

 

Thanks,


Lauri | Community Manager

Let us know how we did on Trustpilot.

0 Likes
Message 15 of 26

CLMSJ
Advocate
Advocate

Hi will, i have just tried to test it but it wont let me select more than one pile at a time when you click the "select" in the script? it used to let me

0 Likes
Message 16 of 26

CLMSJ
Advocate
Advocate

Hi not resolved yet, looks like a minor issue to sort still

Message 17 of 26

will_young
Advocate
Advocate

Hi mate, I changed the script so that rather than having to select each pile, you can just select one pile and it will apply coordinates to all piles of the same family.

Message 18 of 26

CLMSJ
Advocate
Advocate

CLMSJ_0-1791207810742.png

When i do it, it doesnt seem to match? am i doing something wrong?

0 Likes
Message 19 of 26

will_young
Advocate
Advocate

Are the spot coordinates using survey point or project base point?

Message 20 of 26

CLMSJ
Advocate
Advocate

CLMSJ_0-1791209730238.png

survey i think

0 Likes