# Is it possible to create a second 3D view without changing layout?

**URL:** <https://discourse.slicer.org/t/is-it-possible-to-create-a-second-3d-view-without-changing-layout/39586>\
**Category:** Support\
**Created:** [October 8, 2024, 5:37pm UTC](https://discourse.slicer.org/t/is-it-possible-to-create-a-second-3d-view-without-changing-layout/39586 "2024-10-08T17:37:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mau\_igna\_06](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mau_igna_06/32/9056_2.png) [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Post date:** [October 8, 2024, 5:37pm UTC](https://discourse.slicer.org/t/is-it-possible-to-create-a-second-3d-view-without-changing-layout/39586/1 "2024-10-08T17:37:24Z")

</div>

Hi, [my custom layout](https://github.com/SlicerIGT/SlicerBoneReconstructionPlanner/blob/ee133884bc126d4d593612bd90211fe2e3165625/BoneReconstructionPlanner/BoneReconstructionPlanner.py#L155-L179) has 2 threeDViews.

This layout is available in the layout menu after Slicer starts up but, apparently, I cannot access the second threeDView until the custom layout has not been set once.  
This is a problem because I want to automatically create some nodes that should only be visible in the 2nd threeDView and I can’t because an error tells me the 2nd threeDView is `NoneType`

Hope you can help

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 8, 2024, 10:34pm UTC](https://discourse.slicer.org/t/is-it-possible-to-create-a-second-3d-view-without-changing-layout/39586/2 "2024-10-08T22:34:35Z")

</div>

You can set the view node IDs in the display node before those views are created.
