# Change view reference by this method is it possible

**URL:** <https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442>\
**Category:** Revit\
**Tags:** revit, archi-lab, python, dynamo\
**Created:** [January 23, 2025, 12:48pm UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442 "2025-01-23T12:48:53Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikas.kpoojary](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikas.kpoojary/32/178920_2.png) [@vikas.kpoojary](https://forum.dynamobim.com/u/vikas.kpoojary)\
**Post date:** [January 23, 2025, 12:48pm UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442/1 "2025-01-23T12:48:53Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/2/d20d66cda45281e0cd6f478f026434098fb56ea0.png)

get view from sheet\>and select callout in plan by element selection for me its not working

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [January 23, 2025, 4:16pm UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442/2 "2025-01-23T16:16:15Z")

</div>

What does the error say?

---

<div class="post-metadata">

**Author:** ![vikas.kpoojary](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikas.kpoojary/32/178920_2.png) [@vikas.kpoojary](https://forum.dynamobim.com/u/vikas.kpoojary)\
**Post date:** [January 24, 2025, 4:43am UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442/3 "2025-01-24T04:43:14Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/9/8985f2e38771caebd2bc3c5b064a2745114870c7.png)  
this is the error

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [January 24, 2025, 1:24pm UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442/4 "2025-01-24T13:24:15Z")

</div>

It doesn’t like the callout you have selected for some reason. Can you try manually changing the callout reference for the selected callout in Revit to see if anything gives you a warning there?

---

<div class="post-metadata">

**Author:** ![vikas.kpoojary](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikas.kpoojary/32/178920_2.png) [@vikas.kpoojary](https://forum.dynamobim.com/u/vikas.kpoojary)\
**Post date:** [January 24, 2025, 3:25pm UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442/5 "2025-01-24T15:25:42Z")

</div>

Thanks for your reply, I want to create functionality such that if I select a sheet in the Project Browser and then a view reference tag, it should extract the view from the sheet and apply the target view to the view reference tag. This is what I am trying to achieve. If possible, please help me with this

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [January 24, 2025, 4:17pm UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442/6 "2025-01-24T16:17:52Z")

</div>

Are you selecting a callout or a view reference tag. The node is changing the reference view of the callout so you need to provide a callout element. The tag would update automatically.

---

<div class="post-metadata">

**Author:** ![vikas.kpoojary](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikas.kpoojary/32/178920_2.png) [@vikas.kpoojary](https://forum.dynamobim.com/u/vikas.kpoojary)\
**Post date:** [January 25, 2025, 4:51am UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442/7 "2025-01-25T04:51:52Z")

</div>

> [@Update View Reference Target View](https://forum.dynamobim.com/t/update-view-reference-target-view/89151):
>
> I’m passing a list of floorplans with an ordered View References elems. I tried this node hoping it used the same param. any ideas on a node available? If I used it in python do I need to get the Ids of the view, floorplan and then use a named parameter change? How would I go about it? I know to use the ChangeReferencedView( Document document, ElementId referenceId, ElementId desiredViewId ) Method, but am more familiar with C# Revit recently, been a while since I used Python/D…

i am unable to understand, what is read only

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [January 25, 2025, 9:53am UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442/8 "2025-01-25T09:53:19Z")

</div>

It means you can only read the value, not write new values to it. You cannot change the view reference in sheet viewport labels. This is set by Revit.

Yes it gets it wrong a lot of the time. It is an old feature that has been requested to support an override for over 10 years now.

---

<div class="post-metadata">

**Author:** ![SeanP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/seanp/32/42560_2.png) [@SeanP](https://forum.dynamobim.com/u/SeanP)\
**Post date:** [January 27, 2025, 3:07pm UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442/9 "2025-01-27T15:07:48Z")

</div>

You can “trick” this sometimes by hiding the referencing element in the view and it will then jump to another one. I’ve done this before but it can be tedious. I suppose you could try to collect all viewers then turn them off everywhere but the view you want and maybe it would get you there.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [January 27, 2025, 3:19pm UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442/10 "2025-01-27T15:19:06Z")

</div>

Hi Sean…great tip 😉 but dont sound so stable 😉

---

<div class="post-metadata">

**Author:** ![SeanP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/seanp/32/42560_2.png) [@SeanP](https://forum.dynamobim.com/u/SeanP)\
**Post date:** [January 27, 2025, 3:53pm UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442/11 "2025-01-27T15:53:50Z")

</div>

I’d agree, I’d call it more of a ‘hack’, but it has proven useful in the past. More of something you use here and there but not a definitive “solution” by any means.

---

<div class="post-metadata">

**Author:** ![elton.williams](https://avatars.discourse-cdn.com/v4/letter/e/ba8739/32.png) [@elton.williams](https://forum.dynamobim.com/u/elton.williams)\
**Post date:** [January 29, 2025, 11:21am UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442/12 "2025-01-29T11:21:26Z")

</div>

this does work and as said it can be very tedious, just be careful hiding/ turning them off because if there are no more views to reference then revit will move that reference to a level instead of a view and then you’re really stuck.

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [January 29, 2025, 10:07pm UTC](https://forum.dynamobim.com/t/change-view-reference-by-this-method-is-it-possible/107442/13 "2025-01-29T22:07:16Z")

</div>

So i was perusing revit roadmap and found this…

[https://portal.productboard.com/fgzms7e5w5rfaulmsvksa6pw/c/849-shared-parameters-for-section-elevation-mark-callout-head-and-view-reference-labels](https://portal.productboard.com/fgzms7e5w5rfaulmsvksa6pw/c/849-shared-parameters-for-section-elevation-mark-callout-head-and-view-reference-labels)

To me that looks like in (2026?) we will potentially be able to override callout properties by view or.marker.

Obviously doesnt help anyone stuck in old builds as per usual… but a light at the end of a long tunnel.
