Duplicate in parts quantities using Dynamo

Hello!

When I use dynamo to export quantities from Revit any split elements like walls will calculate quantities for the whole part and two split parts and all with category of parts.

i.e. If I have wall need split it into two parts the calculations or elements exported from dynamo by category are three parts not only two.

Please advice.
Regards,
Ahmad

You can use get parts.getparent from steamnodes package. after that you get set rules.