can you please rectify the error
Hello and welcome
What do the errors say?
Hi @chandru.g2 try with equals in rule type instead of Equals…guess your nodes is from archilab there is a select ruletype node there as well, or just equals as string
We need to know the node error. What does the CreateRule
node say? My guess is something about invalid categories. The All Elements In Active View
node is going to return a bunch of elements (and therefore categories) that you probably don’t want or that don’t have the parameter you’re filtering by. You probably need to filter that list before creating the rule.
Filter rules are being created based on the element count, resulting in a large number of individual rules. How can I resolve this issue and avoid creating numerous filter rules? I hope the attached snapshot helps clarify the problem
Filter rules are being created based on the element count, resulting in a large number of individual rules. How can I resolve this issue and avoid creating numerous filter rules? I hope the attached snapshot helps clarify the problem
You’re getting all elements in the view, the parameter from each of those elements, the value from each of those elements, and then creating a rule for each one too. If you provide 97 inputs you’re going to get 97 outputs. You had the right approach with using List.UniqueItems
for a list of Categories. You only need one parameter and one value for the filter.
Thank you for your response. I have one more doubt i.e how to remove Divisions from the list. I attached the snapshot for your reference.
The Category is an element so you would have to compare that with an element or get the name of the category and compare that with a string. You should just be able to connect the list of categories to an Element.Name
node before comparing.