List.RemoveIfNot, not working

Hi ALL,

I have made a small scripts which is removing mark values of elements, again script running good in dynamo but not working Revit .Any suggestion.

@irfankhan888969 Element.SetParameterByName node with value set to “”

Hi @irfankhan888969 ,

To further explain what @Elie.Trad said:
You have two workspaces, the Revit workspace & the Dynamo workspace. In this case you are just working in the Dynamo workspace, you would need the node as described by tradelie to actually overwrite revit parameters.

By the way, you are using the List.RemoveIfNot not at it’s intended use, see this page:

https://dictionary.dynamobim.com/#/BuiltIn/Action/RemoveIfNot

Thank you for suggestions

Thanks man