# Sheet Duplicate Node Issue - Bimorph

**URL:** <https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328>\
**Category:** Packages\
**Tags:** bimorph\
**Created:** [December 5, 2018, 11:38am UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328 "2018-12-05T11:38:58Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![BIMadmin](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@BIMadmin](https://forum.dynamobim.com/u/BIMadmin)\
**Post date:** [December 5, 2018, 11:38am UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328/1 "2018-12-05T11:38:58Z")

</div>

Hello all,  
First I would like to say thank you very much to the developer of the bymorph package, is amazing!!!  
I am trying to create a graph that let select user an specific sheet, based on the sheet number, all seem to work well however not sure why the bymorph node does not like the inputs these way, I have tried the graph without the steamnodes and works well.

Any ideas why??

dyn attached

 ![c1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/9/d98577801da95e5c1bd50eeb923507fbee7094af.jpeg) ![c2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/8/f8b2e67fc9f3cb77f771a9a22fc8b093c1c35a2a.jpeg) [sheet duplicate.dyn](https://forum.dynamobim.com/uploads/short-url/uXe6xVrsc5khsaWwLSL59uVfx2K.dyn) (29.8 KB)

---

<div class="post-metadata">

**Author:** ![BIMadmin](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@BIMadmin](https://forum.dynamobim.com/u/BIMadmin)\
**Post date:** [December 5, 2018, 12:04pm UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328/2 "2018-12-05T12:04:42Z")

</div>

I have tried to simplyfied to graph, same problem

 ![c3](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/d/6dc9d4ee5fbd9d55d1de561b0c41badfaff1e57c.jpeg) [sheet duplicate not smart.dyn](https://forum.dynamobim.com/uploads/short-url/84GgPz1nMDaAvvoLE2ykk4TxW7Y.dyn) (11.4 KB)  
Sheets are duplicated but not views

---

<div class="post-metadata">

**Author:** ![BIMadmin](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@BIMadmin](https://forum.dynamobim.com/u/BIMadmin)\
**Post date:** [December 5, 2018, 12:07pm UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328/3 "2018-12-05T12:07:09Z")

</div>

![c4](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/8/1830ef397802a49d9e9751e7ab48327603c4a653.jpeg)

---

<div class="post-metadata">

**Author:** ![m.rijsmus](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@m.rijsmus](https://forum.dynamobim.com/u/m.rijsmus)\
**Post date:** [December 5, 2018, 12:07pm UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328/4 "2018-12-05T12:07:26Z")

</div>

hI,

you need to provide a prefix string so revit will no try to create sheets with the same sheetnumber  
you left the input prefix open

---

<div class="post-metadata">

**Author:** ![BIMadmin](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@BIMadmin](https://forum.dynamobim.com/u/BIMadmin)\
**Post date:** [December 5, 2018, 12:09pm UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328/5 "2018-12-05T12:09:55Z")

</div>

Hello Rijsmus, thanks for your help  
But dont think that is the problem, as new sheets are created

---

<div class="post-metadata">

**Author:** ![Thomas\_Mahon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_mahon/32/64209_2.png) [@Thomas\_Mahon](https://forum.dynamobim.com/u/Thomas_Mahon)\
**Post date:** [December 5, 2018, 12:15pm UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328/6 "2018-12-05T12:15:57Z")

</div>

Hi @BIMadmin check the report output of the node - does it say something like “View XX, on Sheet XX, exists in the document and cannot be duplicated”.

If your views already exist (possible if you run before, deleted the sheets to re-run, but didn’t delete the views), then that is the most likely reason. The suffix/affix are optional inputs - you only need to satisfy one for the node to execute. Your graph looks fine.

---

<div class="post-metadata">

**Author:** ![BIMadmin](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@BIMadmin](https://forum.dynamobim.com/u/BIMadmin)\
**Post date:** [December 5, 2018, 12:24pm UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328/7 "2018-12-05T12:24:57Z")

</div>

Hello Thomas,

That was it, exactly!

working now, by the way do you know why I am still getting an error here please?

 ![c5](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/a/4a3d665737736e6ab9ba2a2cc009ac823fc49cf2.jpeg)

---

<div class="post-metadata">

**Author:** ![Thomas\_Mahon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_mahon/32/64209_2.png) [@Thomas\_Mahon](https://forum.dynamobim.com/u/Thomas_Mahon)\
**Post date:** [December 5, 2018, 12:30pm UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328/8 "2018-12-05T12:30:28Z")

</div>

Odd, and difficult to tell from an image. Post a simple Revit file which reproduces the exception and list all of the other packages you have installed, and Revit/Dynamo/BimorphNodes versions.

---

<div class="post-metadata">

**Author:** ![BIMadmin](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@BIMadmin](https://forum.dynamobim.com/u/BIMadmin)\
**Post date:** [December 5, 2018, 12:40pm UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328/9 "2018-12-05T12:40:53Z")

</div>

Sure Thomas,

[sheet duplicate.dyn](https://forum.dynamobim.com/uploads/short-url/w8KuJmLeMvXTWDPRUr5QeVMjtl5.dyn) (26.4 KB)

rvt, dyn and list of packages attached[Test1.rvt](https://forum.dynamobim.com/uploads/short-url/y0stNmBSNNOBmpyFyGk0vXlpJ96.rvt) (2.2 MB)

 ![c6](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/9/a961dd40b105de257227a16b2957c1a88b85c59b.jpeg)

---

<div class="post-metadata">

**Author:** ![Thomas\_Mahon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_mahon/32/64209_2.png) [@Thomas\_Mahon](https://forum.dynamobim.com/u/Thomas_Mahon)\
**Post date:** [December 5, 2018, 7:45pm UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328/10 "2018-12-05T19:45:02Z")

</div>

The issue appears to be caused by a combination of problems:

1. The replication behaviour of Dynamo
2. The modal forms appear to be refreshing Revit, but Dynamo doesn’t refresh until after the graph has fully executed, so by the time Sheet.Duplicate receives the data when the node starts to replicate, sheet numbers are out of date which results in null exceptions when it tries to access the sheets
3. Sheet.Duplicate requires a list of sheets and a single prefix (or suffix), whereas you are providing a list - this is what triggers the replication and problem 2

Solution:

1. Flatten your list of sheets
2. Use List.Map so each sheet gets duplicated with each suffix name (see image below)

or (recommended)

1. Input a single suffix
2. Duplicate the sheets
3. Rename the sheets utilising the Sheet are output

List.Map is a hack really, so dont expect very useful outputs…

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

---

<div class="post-metadata">

**Author:** ![BIMadmin](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@BIMadmin](https://forum.dynamobim.com/u/BIMadmin)\
**Post date:** [December 6, 2018, 8:39am UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328/11 "2018-12-06T08:39:09Z")

</div>

Thank you very much Thomas for your explanation and support,  
This make a difference to new dynamo users!!!

---

<div class="post-metadata">

**Author:** ![BIMadmin](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@BIMadmin](https://forum.dynamobim.com/u/BIMadmin)\
**Post date:** [December 7, 2018, 11:47am UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328/12 "2018-12-07T11:47:36Z")

</div>

Hello all,  
Here is the graph in case anyone fancy using it,  
It works very well!  
Thank you very much Thomas for your help and to DataShapes.

 ![c1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/1/116eaef33325c35ff062979132250fd60fdbc336.jpeg) [Sheet duplicate.dyn](https://forum.dynamobim.com/uploads/short-url/cu8w3epBoDFaBLrkXL553irZyvR.dyn) (24.7 KB)

---

<div class="post-metadata">

**Author:** ![Er.Shameem](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Er.Shameem](https://forum.dynamobim.com/u/Er.Shameem)\
**Post date:** [September 11, 2024, 9:33am UTC](https://forum.dynamobim.com/t/sheet-duplicate-node-issue-bimorph/29328/13 "2024-09-11T09:33:30Z")

</div>

Hello Dynamo community,

Firstly, I wanted to thank the developer of the Bimorph Package, which saves a lot of time and simplifies the dynamo graphs! 🙌

I was working with a Sheet Duplication Project.  
The algorithm usually worked well with a single sheet template into multiple duplicates.

In this scenario, I was inputting multiple unique sheets to get a single duplicate for each.  
But I get an error saying,  
_“Warning: Sheet.Duplicate operation failed. The parameter is read-only.”_  
I get the sheets duplicated but not all views present in the duplicates.  
Also, the further nodes connected to the sheets will not work since **Sheet.Duplicate** doesn’t returns the duplicated sheet.

Any ideas or workarounds?

I have attached my workflow, result & dyn file

 ![Workflow](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/5/457e2284037ff795521c67b472eb86ccd30e6e3a.jpeg)

 ![Result](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/0/30f4302c56f391e7e4bb8865c15ed2c070e8c19f.png)

I was working on,  
**Revit 2020** _v20.0.0.377_  
Dynamo Core _v2.1.0.7500_  
Dynamo Revit _v2.1.0.7733_

And I was using latest packages available in the library.  
_Collect.sheets_ node from spring nodes v210.1.1  
_Sheet.Duplicate_ node from bimorphNodes v5.1.3

[Multi-Sheet Duplication with Views.dyn](https://forum.dynamobim.com/uploads/short-url/4tEpIxkX6zZkrVeN4eaDHe8sa1X.dyn) (49.7 KB)  
[Supporting Excel](https://forum.dynamobim.com/uploads/short-url/xOv04O2CSdJpPr2KSLVFvXleLGY.xlsx) (9.6 KB)
