Filtering Elements in active view by parameter value and tag by Tag type family

Hi All,

I’m fairly new to Dynamo and I’m trying to achieve the following task:

I have families with a parameter and its value:

  • Parameter name: TRI_TagReference
  • Parameter value: CW

I need to select all items in the active view that meet the above condition and tag them using a Multicategory Tag called: TRI_Anno_M_Tag_Cold_Water.

Here are the issues I’m encountering:

  1. Boolean Filter Issue: The Boolean filter doesn’t seem to filter by value correctly.
  2. Tagging Issue: There is no node available to use for tagging by tag type.

I hope the experts here can help me resolve these issues. Thank you in advance!

First of all, you don’t have to use " in string nodes. Remove these symbols from both String nodes.

1 Like

Hi Robert, welcome to the forum :wave:

Please take the opportunity to read the following post if you haven’t already How to get help on the Dynamo forums

There are nodes for tagging see here Dynamo Dictionary Tag

If you need to specify the tag type GeniusLoci and archilab have nodes which allow you to specify the type

Thank you for your help. I have removed " in both string now still it is not filtering elemnt by parameter value. I may need bit more help from you. Thanks in advance

Well, it’s hard to say is it filtering correctly or not. You need to pin results for Element.Getparameterbyname, String.Contains and Filterbyboolmaks nodes and send one more screenshot.

Also, I see you’re using OUT list from Filterbyboolmask, which may be the culprit. Try using IN list

And the last thing - you need to have separate Active view node to connect in to View input in Create tag node.