# I want to create a dynamo script that compare a list of shared parameters guid to revit file existing parameters, and then delete from the revit file the parameters that do not match the GUIDs

**URL:** <https://forum.dynamobim.com/t/i-want-to-create-a-dynamo-script-that-compare-a-list-of-shared-parameters-guid-to-revit-file-existing-parameters-and-then-delete-from-the-revit-file-the-parameters-that-do-not-match-the-guids/114498>\
**Category:** Uncategorized\
**Created:** [April 26, 2026, 6:58pm UTC](https://forum.dynamobim.com/t/i-want-to-create-a-dynamo-script-that-compare-a-list-of-shared-parameters-guid-to-revit-file-existing-parameters-and-then-delete-from-the-revit-file-the-parameters-that-do-not-match-the-guids/114498 "2026-04-26T18:58:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nouradly12](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@nouradly12](https://forum.dynamobim.com/u/nouradly12)\
**Post date:** [April 26, 2026, 6:58pm UTC](https://forum.dynamobim.com/t/i-want-to-create-a-dynamo-script-that-compare-a-list-of-shared-parameters-guid-to-revit-file-existing-parameters-and-then-delete-from-the-revit-file-the-parameters-that-do-not-match-the-guids/114498/1 "2026-04-26T18:58:26Z")

</div>

I want to create a dynamo script that compare a list of shared parameters guid to revit file existing parameters, and then delete from the revit file the parameters that do not match the GUIDs and creates new parameters that do not exist in the revit file but are in the list of these guids .

---

<div class="post-metadata">

**Author:** ![nouradly12](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@nouradly12](https://forum.dynamobim.com/u/nouradly12)\
**Post date:** [April 26, 2026, 7:00pm UTC](https://forum.dynamobim.com/t/i-want-to-create-a-dynamo-script-that-compare-a-list-of-shared-parameters-guid-to-revit-file-existing-parameters-and-then-delete-from-the-revit-file-the-parameters-that-do-not-match-the-guids/114498/2 "2026-04-26T19:00:39Z")

</div>

I reached the point of getting the parameters that are not included in the list of guids so now i want first to delete them

---

<div class="post-metadata">

**Author:** ![Mike.Buttery](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mike.Buttery](https://forum.dynamobim.com/u/Mike.Buttery)\
**Post date:** [April 28, 2026, 12:11am UTC](https://forum.dynamobim.com/t/i-want-to-create-a-dynamo-script-that-compare-a-list-of-shared-parameters-guid-to-revit-file-existing-parameters-and-then-delete-from-the-revit-file-the-parameters-that-do-not-match-the-guids/114498/3 "2026-04-28T00:11:39Z")

</div>

Hi, welcome to the forum 👋  
Please take the time to read the forum FAQ → [How to get help on the Dynamo forums](https://forum.dynamobim.com/t/how-to-get-help-on-the-dynamo-forums/4677)

This seems like a fairly straightforward task, you are likely to get more assistance if you show your work and where you are getting stuck

---

<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:** [April 28, 2026, 6:56am UTC](https://forum.dynamobim.com/t/i-want-to-create-a-dynamo-script-that-compare-a-list-of-shared-parameters-guid-to-revit-file-existing-parameters-and-then-delete-from-the-revit-file-the-parameters-that-do-not-match-the-guids/114498/4 "2026-04-28T06:56:40Z")

</div>

Pretty sure that if a shared parameter which isn’t in your GUID list is used in a family as a control or in a formula you’re going to break the family in a way where this will be prevented from executing in many ways and in other ways you’ll get changes in form. As such this is the type of operation which isn’t recommended for bulk operations but should be performed one at a time with a review of all changes between deleting each parameter element.

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [April 28, 2026, 8:45am UTC](https://forum.dynamobim.com/t/i-want-to-create-a-dynamo-script-that-compare-a-list-of-shared-parameters-guid-to-revit-file-existing-parameters-and-then-delete-from-the-revit-file-the-parameters-that-do-not-match-the-guids/114498/5 "2026-04-28T08:45:13Z")

</div>

I agree with Jaco (to a certain extent), but in case you are aware of the consequences then  
this should get you started.

 ![DeleteProjectParameters2026-04-2810-42-07](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/7/27c2642adf05d272ae90a8ee6c54a0cd7a145ce0.png)

---

<div class="post-metadata">

**Author:** ![Nour.Adly](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@Nour.Adly](https://forum.dynamobim.com/u/Nour.Adly)\
**Post date:** [April 28, 2026, 7:34pm UTC](https://forum.dynamobim.com/t/i-want-to-create-a-dynamo-script-that-compare-a-list-of-shared-parameters-guid-to-revit-file-existing-parameters-and-then-delete-from-the-revit-file-the-parameters-that-do-not-match-the-guids/114498/6 "2026-04-28T19:34:57Z")

</div>

> [@bvs1982](#):
>
> ![DeleteProjectParameters2026-04-2810-42-07](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/7/27c2642adf05d272ae90a8ee6c54a0cd7a145ce0.png)thank you sooo much for your response, i will try it \

thank you soo much for your response, i will try it …

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [April 29, 2026, 7:09am UTC](https://forum.dynamobim.com/t/i-want-to-create-a-dynamo-script-that-compare-a-list-of-shared-parameters-guid-to-revit-file-existing-parameters-and-then-delete-from-the-revit-file-the-parameters-that-do-not-match-the-guids/114498/7 "2026-04-29T07:09:28Z")

</div>

This might work a little bit better.

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