# Run dyn script after Selecting model elements node

**URL:** <https://forum.dynamobim.com/t/run-dyn-script-after-selecting-model-elements-node/103460>\
**Category:** Uncategorized\
**Created:** [August 11, 2024, 2:34pm UTC](https://forum.dynamobim.com/t/run-dyn-script-after-selecting-model-elements-node/103460 "2024-08-11T14:34:16Z")\
**Posts on this page:** 1\
**Showing post:** 7

<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:** [August 14, 2024, 10:24am UTC](https://forum.dynamobim.com/t/run-dyn-script-after-selecting-model-elements-node/103460/7 "2024-08-14T10:24:42Z")

</div>

> [@RevitRobot](#):
>
> That’s the fact you can just set inputs and remember them.

You can do this by saving config files for users in the appdata folder. Sort of like what I’m doing here:  
[[SHARING] Remembering data shapes input for next run](https://forum.dynamobim.com/t/sharing-remembering-data-shapes-input-for-next-run/103491), this is made for Dynamo but the idea is the same, a python script reads and writes to a .json file and uses either a default value, or a value from the config as the next input. I’d recommend using json over .txt any day simply because of typing issues

---

_[View the full topic](https://forum.dynamobim.com/t/run-dyn-script-after-selecting-model-elements-node/103460)._
