# Custom Node Behaviour unexpected

**URL:** https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701
**Category:** Packages
**Tags:** dynamo
**Created:** [February 3, 2023, 2:28am UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701 "2023-02-03T02:28:22Z")
**Posts on this page:** 15
**Page:** 2

<div class="post-metadata">

### Author: ![BrookePeterson](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@BrookePeterson](https://forum.dynamobim.com/u/BrookePeterson)
#### Post date: [March 3, 2023, 9:36pm UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/21 "2023-03-03T21:36:20Z")

</div>

Yes, also one similar build

Revit 2023.1.1  
Dynamo Core 2.16.1.2727  
Dynamo Revit 2.16.1.6510

And yes, i do have the DynamoIronPython package installed.

I have noticed that the name change happens by no action at all simply time.

Open new workspace, place custom node. Edit Custom node and wait. After around 30 seconds it renames

[https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/2/c2e17dec339eb99529aba629b000c4ac6bfca765.mp4](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/2/c2e17dec339eb99529aba629b000c4ac6bfca765.mp4)

---

<div class="post-metadata">

### Author: ![solamour](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/solamour/32/153516_2.png) [@solamour](https://forum.dynamobim.com/u/solamour)
#### Post date: [March 6, 2023, 3:39pm UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/22 "2023-03-06T15:39:35Z")

</div>

Hello all - We have now a reproducible way to do this internally and have filed a task to address this for the next Dynamo release (2.18). A big thanks to you all for pointing us in the right direction for this 🤩

---

<div class="post-metadata">

### Author: ![Andreas\_Dieckmann](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/andreas_dieckmann/32/365_2.png) [@Andreas\_Dieckmann](https://forum.dynamobim.com/u/Andreas_Dieckmann)
#### Post date: [March 7, 2023, 7:11am UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/23 "2023-03-07T07:11:52Z")

</div>

@solamour Probably silly of me to ask at all, but is there going to be a hotfix for Revit 2023?

---

<div class="post-metadata">

### Author: ![truevis](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/truevis/32/8634_2.png) [@truevis](https://forum.dynamobim.com/u/truevis)
#### Post date: [March 7, 2023, 7:38am UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/24 "2023-03-07T07:38:42Z")

</div>

It seems to be a workaround to **immediately do a save-as to the node** after opening a custom node for editing.

Edit: **NO**

Even editing a DYF with nothing else open, the DYF will rename itself to `backup.dyf`

What is a current workaround except wait for a repaired Revit update?

---

<div class="post-metadata">

### Author: ![BrookePeterson](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@BrookePeterson](https://forum.dynamobim.com/u/BrookePeterson)
#### Post date: [March 7, 2023, 8:05am UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/25 "2023-03-07T08:05:37Z")

</div>

Thanks Sol for your, and your team’s efforts!

I second Andreas request for a Hotfix pretty please!! 😃

The workaround I am using at the moment is to take a backup copy of my .dyf before opening for editing. After i edit I do a save-as to a temporary location. After saving the file I manually edit the .dyf file using text editor and replace the updated Uuid with the original Uuid from the backup i made. This allows me to copy the new node into my package location and existing .dyn files still recongnise it as the same node.

To be fair I only use this locally in our internal environment since I don’t publish my package Online to the package manager. I don’t know what affect this would have in your published packages?

---

<div class="post-metadata">

### Author: ![truevis](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/truevis/32/8634_2.png) [@truevis](https://forum.dynamobim.com/u/truevis)
#### Post date: [March 7, 2023, 8:17am UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/26 "2023-03-07T08:17:52Z")

</div>

> [@BrookePeterson](#):
>
> After saving the file I manually edit the .dyf file using text editor and replace the updated Uuid with the original Uuid from the backup i made. This allows me to copy the new node into my package location and existing .dyn files still recognize it as the same node.

That’s a clever hack. Doing an immediate save-as after opening the DYF seems to be needed, too.

Edit: I tried that, replacing the `Uuid` and changing file names but it didn’t work for me. Also, the nodes come back to be all on top of each other.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/5/05487ce6ff2906d667468af3d6ba9e9b203f649f.png)

---

<div class="post-metadata">

### Author: ![solamour](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/solamour/32/153516_2.png) [@solamour](https://forum.dynamobim.com/u/solamour)
#### Post date: [March 7, 2023, 11:24am UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/27 "2023-03-07T11:24:01Z")

</div>

We’ll explore this, yes. It depends on whether or not Revit are going to release a hotfix, so we need to talk with the teams responsible there 🙂

---

<div class="post-metadata">

### Author: ![truevis](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/truevis/32/8634_2.png) [@truevis](https://forum.dynamobim.com/u/truevis)
#### Post date: [March 13, 2023, 6:11pm UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/28 "2023-03-13T18:11:15Z")

</div>

> [@solamour](#):
>
> It depends on whether or not Revit are going to release a hotfix

So there won’t be a fix until the next Revit 2023 update? We cannot really update Dynamo for Revit separately, anymore, yes?

Is there actually a workaround until then? I am updating many graphs from 2022 to 2023 and it requires editing DYFs.

---

<div class="post-metadata">

### Author: ![solamour](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/solamour/32/153516_2.png) [@solamour](https://forum.dynamobim.com/u/solamour)
#### Post date: [March 13, 2023, 6:24pm UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/29 "2023-03-13T18:24:38Z")

</div>

> [@truevis](#):
>
> So there won’t be a fix until the next Revit 2023 update? We cannot really update Dynamo for Revit separately, anymore, yes?
> 
> Is there actually a workaround until then? I am updating many graphs from 2022 to 2023 and it requires editing DYFs.

There is a way, yes, as you can see in this post: [Error - specTypeId is not a measurable spec identifier? - #17 by scott.tomlinson](https://forum.dynamobim.com/t/error-spectypeid-is-not-a-measurable-spec-identifier/77965/17)

Technically and officially we don’t support this behavior as it’s not been tested, but theoretically it should cause no harm. It’s a **use at your own risk** kind of thing.

Note that the fix is not yet out, and we are targeting 2.18 for it right now if it’s not too complex 🙂

---

<div class="post-metadata">

### Author: ![ygor.fasanella](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ygor.fasanella/32/175622_2.png) [@ygor.fasanella](https://forum.dynamobim.com/u/ygor.fasanella)
#### Post date: [September 14, 2023, 2:39pm UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/30 "2023-09-14T14:39:26Z")

</div>

Hello everyone,

Has there been any update? Has the problem been resolved?  
I’ve been experiencing the same issue recently.  
I’m using Revit 2023.1.3 and Dynamo 2.17.

Thank you!  
@solamour

---

<div class="post-metadata">

### Author: ![mclough](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mclough/32/134664_2.png) [@mclough](https://forum.dynamobim.com/u/mclough)
#### Post date: [November 27, 2023, 5:23pm UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/31 "2023-11-27T17:23:05Z")

</div>

adding that i experience this behavior on Dynamo Core 2.17.0 / Dynamo Revit 2.17.0

---

<div class="post-metadata">

### Author: ![solamour](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/solamour/32/153516_2.png) [@solamour](https://forum.dynamobim.com/u/solamour)
#### Post date: [November 27, 2023, 7:45pm UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/32 "2023-11-27T19:45:58Z")

</div>

> [@mclough](#):
>
> adding that i experience this behavior on Dynamo Core 2.17.0 / Dynamo Revit 2.17.0

We have fixed this in Dynamo 2.18, which should be in Revit 2024.1 🙂

---

<div class="post-metadata">

### Author: ![BrookePeterson](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@BrookePeterson](https://forum.dynamobim.com/u/BrookePeterson)
#### Post date: [November 27, 2023, 11:06pm UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/33 "2023-11-27T23:06:57Z")

</div>

@solamour I don’t suppose you’d have any insight into whether an updated dynamo will make it’s way into any new Revit 2023 updates? The slow moving cogs of large business have meant we won’t be able to get onto 2024 for a while yet 😃

There have been some amazing dynamo leaps but cant take advantage of them due to being stuck for now on Revit 2023

---

<div class="post-metadata">

### Author: ![solamour](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/solamour/32/153516_2.png) [@solamour](https://forum.dynamobim.com/u/solamour)
#### Post date: [November 28, 2023, 6:49pm UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/34 "2023-11-28T18:49:56Z")

</div>

We’re looking into that now 🙂 For the Dynamo updates we rely on Revit patch cycles, so we need to piggy-back on top of that.

The tricky thing is the matrix of stuff that Dynamo touches and testing (i.e. Geometry kernel, base Revit API’s, Analytics tools, DLL’s that conflict with other addin’s etc.) meaning that **we don’t release features backwards** but rather only target bug fixes, stability fixes, performance fixes, memory leaks etc. in ways that are 💯 verifiable and tested.

It’s a tricky balance, because we need to be confident that any fix doesn’t make things worse and the further back the Revit version, the more out of sync it becomes.

#lifeOfSoftwareDevelopment #theJuggleIsReal

---

<div class="post-metadata">

### Author: ![BrookePeterson](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@BrookePeterson](https://forum.dynamobim.com/u/BrookePeterson)
#### Post date: [November 28, 2023, 11:08pm UTC](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701/35 "2023-11-28T23:08:54Z")

</div>

Yeah, that’s fair enough! Definitely appreciate your work, and thanks for looking into it 🙂

[Previous page](https://forum.dynamobim.com/t/custom-node-behaviour-unexpected/85701.md?page=1)
