# Parameter value changes without modification

**URL:** <https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [October 25, 2022, 11:13am UTC](https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434 "2022-10-25T11:13:57Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dr96](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@dr96](https://forum.dynamobim.com/u/dr96)\
**Post date:** [October 25, 2022, 11:13am UTC](https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434/1 "2022-10-25T11:13:57Z")

</div>

Hey guys,

i dont know whats going wrong.  
The parameter of my element changes without any modification.  
I made a dyn. in which i can move a element in revit using a number slider, then im getting its parameter (lets say the length of a pipe) to excel.  
So when i dont change anything and press on execute multiple times the length in excel changes. Although i did not modify anything… How can this be?

---

<div class="post-metadata">

**Author:** ![Garbage\_Collector](https://avatars.discourse-cdn.com/v4/letter/g/da6949/32.png) [@Garbage\_Collector](https://forum.dynamobim.com/u/Garbage_Collector)\
**Post date:** [October 25, 2022, 11:32am UTC](https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434/2 "2022-10-25T11:32:58Z")

</div>

Hey!

It would help if you showed us your script so we can see what you’re working with and what may cause this

---

<div class="post-metadata">

**Author:** ![dr96](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@dr96](https://forum.dynamobim.com/u/dr96)\
**Post date:** [October 25, 2022, 11:51am UTC](https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434/3 "2022-10-25T11:51:46Z")

</div>

Hey sure.

 ![1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/8/d80a3411f09bcbfb9241c82948e041f641911187.png)  
so the red one are my sliders. Blue is the elements i selected. Black is the the input to excel (yellow). So when i change red, the elements (blue) in revit are moving. Then im getting the parameters from the elements (black) into excel (yellow).  
green is also data to another excel sheet from the sliders.

to repeat myself: when im not changing anything and press execute multiple times, the parameter values are changing…

---

<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:** [October 25, 2022, 1:52pm UTC](https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434/4 "2022-10-25T13:52:08Z")

</div>

Zoom in close enough so that the nodes are legible and then use “Export as Image” in the top right of the Dynamo window. Be sure to also have the node preview bubbles pinned so we can actually see the data moving through the graph. Beyond all that, it would also be very helpful if you could pinpoint this to a specific element or area of your graph as it’s very large and most people aren’t going to want to check every single node in your graph just to find the initial issue.

I’d also ask why you’re running the graph multiple times without making any changes? If it works fine when you run it the first time and then breaks after multiple consecutive runs in the same session I’d just say don’t run it more than once per session - which is already best practice for finished graphs.

---

<div class="post-metadata">

**Author:** ![dr96](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@dr96](https://forum.dynamobim.com/u/dr96)\
**Post date:** [October 27, 2022, 1:30pm UTC](https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434/5 "2022-10-27T13:30:51Z")

</div>

Hey Nick,

i cant upload the image as you described, because its too large then (max. 80 megapixels).

To answer your question: im running it multiple times to test it. I cant tell if by first run through my output is correct.

---

<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:** [October 27, 2022, 3:06pm UTC](https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434/6 "2022-10-27T15:06:49Z")

</div>

> [@dr96](#):
>
> its too large then (max. 80 megapixels).

When using Export as Image through Dynamo? I’ve never heard of the file size bloating like that.

---

<div class="post-metadata">

**Author:** ![Garbage\_Collector](https://avatars.discourse-cdn.com/v4/letter/g/da6949/32.png) [@Garbage\_Collector](https://forum.dynamobim.com/u/Garbage_Collector)\
**Post date:** [October 28, 2022, 7:09am UTC](https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434/7 "2022-10-28T07:09:56Z")

</div>

I have had the same issue before.

I also have a script that i assume is so large it just crashes Dynamo as soon as i try to export an image. It gives me the following error and just exits Dynamo when i try to export the graph as an image with the camera button:

> The image data generated an overflow during processing.
> 
> at System.Windows.Media.Renderer.Render(IntPtr pRenderTarget, Channel channel, Visual visual, Int32 width, Int32 height, Double dpiX, Double dpiY, Matrix worldTransform, Rect windowClip)  
> at System.Windows.Media.Imaging.BitmapVisualManager.Render(Visual visual, Matrix worldTransform, Rect windowClip)  
> at System.Windows.Media.Imaging.BitmapVisualManager.Render(Visual visual)  
> at Dynamo.Views.WorkspaceView.SaveWorkspaceAsImage(String path)  
> at Dynamo.ViewModels.DynamoViewModel.OnRequestSaveImage(Object sender, ImageSaveEventArgs e)  
> at Dynamo.ViewModels.DynamoViewModel.SaveImage(Object parameters)  
> at Dynamo.ViewModels.DynamoViewModel.ShowSaveImageDialogAndSaveResult(Object parameter)  
> at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)  
> at System.Windows.Controls.Primitives.ButtonBase.OnClick()  
> at System.Windows.Controls.Button.OnClick()  
> at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)  
> at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)  
> at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)  
> at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)  
> at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)  
> at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)  
> at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)  
> at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)  
> at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)  
> at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)  
> at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)  
> at System.Windows.Input.InputManager.ProcessStagingArea()  
> at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)  
> at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)  
> at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)  
> at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)  
> at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)  
> at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)  
> at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)  
> at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)  
> at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

For reference the size of my graph:

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

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [October 28, 2022, 7:12am UTC](https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434/8 "2022-10-28T07:12:54Z")

</div>

@dr96, @Garbage_Collector

Please post this graph to the [github](https://github.com/DynamoDS/Dynamo/issues) as a new issue so the dev team can look into the problem and adjust the tooling as needed; otherwise they can’t improve the program for us all.

---

<div class="post-metadata">

**Author:** ![Garbage\_Collector](https://avatars.discourse-cdn.com/v4/letter/g/da6949/32.png) [@Garbage\_Collector](https://forum.dynamobim.com/u/Garbage_Collector)\
**Post date:** [October 28, 2022, 7:15am UTC](https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434/9 "2022-10-28T07:15:10Z")

</div>

Will do!

---

<div class="post-metadata">

**Author:** ![Garbage\_Collector](https://avatars.discourse-cdn.com/v4/letter/g/da6949/32.png) [@Garbage\_Collector](https://forum.dynamobim.com/u/Garbage_Collector)\
**Post date:** [October 28, 2022, 7:22am UTC](https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434/10 "2022-10-28T07:22:28Z")

</div>

I assume it has something to do with the total width of the image.

I am not able to export this graph:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/4/a450d3b7532c13d6aece1d716c080c56c198681c.png)

When i move the top right corner slightly more towards the centre like below i am able to export an image (14mb):

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

I will cleanse my file from contractor and client names and upload it to github this weekend.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [October 28, 2022, 7:28am UTC](https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434/11 "2022-10-28T07:28:48Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![dr96](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@dr96](https://forum.dynamobim.com/u/dr96)\
**Post date:** [October 30, 2022, 9:44am UTC](https://forum.dynamobim.com/t/parameter-value-changes-without-modification/82434/12 "2022-10-30T09:44:08Z")

</div>

Just did ✌
