Where is the Shared Site property for Revit link instances?

Where is the Shared Site property for Revit link instances?

lcunninghamAGG8H
Participant Participant
1,408 Views
3 Replies
Message 1 of 4

Where is the Shared Site property for Revit link instances?

lcunninghamAGG8H
Participant
Participant

I am attempting to make a site coordination automation with dynamo, unfortunately I cannot find the shared site property for link instances in the API https://www.revitapidocs.com/2020/b3f65a42-c810-e864-7f4e-438dd2ea2679.htm

 

The parameter also will not show in dynamo although it was defined. (Likely due to its absence in the API)

see attached image

 

Is there a reason for this omission? 

 

-Thanks

Accepted solutions (1)
1,409 Views
3 Replies
Replies (3)
Message 2 of 4

465565873s
Participant
Participant

In attempt to achieve the same function as a Revit addin, I found a shared site builtInParameter "GEO_LOCATION". However, I haven't found a way to somehow change this parameter. 

Screenshots shows change in shared site value.

SharedSite_NotShared.png

 

SharedSite_Internal_2.png

 

SharedSite_Internal.png

 

 

0 Likes
Message 3 of 4

H.echeva
Advocate
Advocate

Recently I had the same question and couldn't find an answer. However, as the previous reply, if you use the name of the link instance you can get the name of the shared position or if it is not shared. Not ideal, I know.

0 Likes
Message 4 of 4

lcunninghamAGG8H
Participant
Participant
Accepted solution

I found that you can modify this field via creating and publishing project locations/positions. However, there is nothing in the API that allows you to unclip the survey point or basepoint, therefore making full automation practically impossible. (because you can never change the location of the survey point relative to the model)

https://forums.autodesk.com/t5/revit-ideas/clip-unclip-survey-point-and-base-point-via-api/idi-p/911...

 

Take this into account when you develop your solution so that you waste your time assembling a 1000 pc puzzle where the final piece doesn't fit, like I did. 

 

Here are the links to the dynamo forum threads I made while trying to create this script:

https://forum.dynamobim.com/t/create-shared-site/41219

https://forum.dynamobim.com/t/filteredelementcollector-issues-site-coordination/42012

https://forum.dynamobim.com/t/publish-coordinates-transactions/42213

https://forum.dynamobim.com/t/failure-handling-options-help-warning-suppression/42257

https://forum.dynamobim.com/t/unclip-survey-point-or-pause-for-user-input/42488 (This one explains the underlying flaw) 

 

Godspeed.