# Placeviews on existing sheets Warning: Internal error, please report: Dereferencing a non-pointer

**URL:** <https://forum.dynamobim.com/t/placeviews-on-existing-sheets-warning-internal-error-please-report-dereferencing-a-non-pointer/79267>\
**Category:** Packages\
**Created:** [July 29, 2022, 3:01am UTC](https://forum.dynamobim.com/t/placeviews-on-existing-sheets-warning-internal-error-please-report-dereferencing-a-non-pointer/79267 "2022-07-29T03:01:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bj.escarilla](https://avatars.discourse-cdn.com/v4/letter/b/bb73d2/32.png) [@bj.escarilla](https://forum.dynamobim.com/u/bj.escarilla)\
**Post date:** [July 29, 2022, 3:01am UTC](https://forum.dynamobim.com/t/placeviews-on-existing-sheets-warning-internal-error-please-report-dereferencing-a-non-pointer/79267/1 "2022-07-29T03:01:46Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/c/7ce3c47f5880334879366295bd82012789938cec.jpeg)

I have a problem on this node and i seem to cant find the solution. Im new to dynamo and I dont know how to troubleshoot

Im using revit 2020. this node is from SteamNodes

---

<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:** [July 29, 2022, 3:49am UTC](https://forum.dynamobim.com/t/placeviews-on-existing-sheets-warning-internal-error-please-report-dereferencing-a-non-pointer/79267/2 "2022-07-29T03:49:43Z")

</div>

Hello @bj.escarilla and welcome…try write point instead of Point and save the node…

---

<div class="post-metadata">

**Author:** ![bj.escarilla](https://avatars.discourse-cdn.com/v4/letter/b/bb73d2/32.png) [@bj.escarilla](https://forum.dynamobim.com/u/bj.escarilla)\
**Post date:** [July 29, 2022, 4:33am UTC](https://forum.dynamobim.com/t/placeviews-on-existing-sheets-warning-internal-error-please-report-dereferencing-a-non-pointer/79267/3 "2022-07-29T04:33:14Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/9/299ab4bf86a1826851ea7b01603eb7283347fe07.jpeg)

Hi sovitek. Thank you so much for this! Everything seems okay now. I have one last minor problem. Have you encountered this type of issue also? 😃

---

<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:** [July 29, 2022, 4:39am UTC](https://forum.dynamobim.com/t/placeviews-on-existing-sheets-warning-internal-error-please-report-dereferencing-a-non-pointer/79267/4 "2022-07-29T04:39:56Z")

</div>

Looks like you’re following my tutorial. That is caused if you run the script and the viewport has been placed already, check the output of tool.placeviewonexistingsheets, it will probably say ‘View already placed’. You’ll need to place and set the viewport types all in one go.

---

<div class="post-metadata">

**Author:** ![bj.escarilla](https://avatars.discourse-cdn.com/v4/letter/b/bb73d2/32.png) [@bj.escarilla](https://forum.dynamobim.com/u/bj.escarilla)\
**Post date:** [July 29, 2022, 4:53am UTC](https://forum.dynamobim.com/t/placeviews-on-existing-sheets-warning-internal-error-please-report-dereferencing-a-non-pointer/79267/5 "2022-07-29T04:53:53Z")

</div>

Hi Gavin! Yes, I am. 😃 Just started exploring the use of dynamo yesterday and your lectures are very helpful.

I see. will try this one. Thank you so much for the tip! 🙂

---

<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:** [July 29, 2022, 4:59am UTC](https://forum.dynamobim.com/t/placeviews-on-existing-sheets-warning-internal-error-please-report-dereferencing-a-non-pointer/79267/6 "2022-07-29T04:59:02Z")

</div>

No worries, might be worth me explaining it in a bit more depth too so the warning makes sense.

By default, this node attempts to place views onto a sheet, which makes them into a viewport in the output of the node. Given in Revit you can only place most views once per project on a sheet, if it fails to place it, the node returns an error message instead (which is text).

The node in this case is being given that text message (string), so it can’t set a viewport type to that as it isn’t the viewport originally placed. I seem to recall I don’t explain this too well in the tutorial so sorry about that - I was quite new to Dynamo at the time compared to now.

You may find the ‘Crumple’ package helpful as well. I ended up remaking the view to sheet node eventually in my own package as this one has the error with inputs and I wanted to change how it behaves a bit (I made one which accepts one location for all viewports, and one which can do one point per viewpoint). The create viewport node from Rhythm is a bit better again, as it can do schedules/legends.

 ![crumple](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/4/c42cb9254bb9a1c0701d34e229ade27988e4374b.jpeg)

---

<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:** [July 29, 2022, 5:17am UTC](https://forum.dynamobim.com/t/placeviews-on-existing-sheets-warning-internal-error-please-report-dereferencing-a-non-pointer/79267/7 "2022-07-29T05:17:13Z")

</div>

Not sure…probably a passtrouth before you set the parameter could help…

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/c/8c5febd3cf3305e5b32c13ba39d2c0312b404a61.png)

---

<div class="post-metadata">

**Author:** ![bj.escarilla](https://avatars.discourse-cdn.com/v4/letter/b/bb73d2/32.png) [@bj.escarilla](https://forum.dynamobim.com/u/bj.escarilla)\
**Post date:** [July 29, 2022, 6:04am UTC](https://forum.dynamobim.com/t/placeviews-on-existing-sheets-warning-internal-error-please-report-dereferencing-a-non-pointer/79267/8 "2022-07-29T06:04:25Z")

</div>

Thank you for this. Will surely explore this package. 😃

I tried checking out the tool.placeviewsonexistingsheets. It says that the view is placed, however, all of my listed sheets are empty. Is it probably because that the “point” code is not working since it is black and not in color?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/6/4669c52a1e25433fa7643b48a3ba6575a8a55dc9.jpeg)

---

<div class="post-metadata">

**Author:** ![bj.escarilla](https://avatars.discourse-cdn.com/v4/letter/b/bb73d2/32.png) [@bj.escarilla](https://forum.dynamobim.com/u/bj.escarilla)\
**Post date:** [July 29, 2022, 6:05am UTC](https://forum.dynamobim.com/t/placeviews-on-existing-sheets-warning-internal-error-please-report-dereferencing-a-non-pointer/79267/9 "2022-07-29T06:05:24Z")

</div>

Hi again, Sovitek. 😃  
I really appreciate your help.  
I tried this one and still have a null problem.
