Create same mark values for same size & length pipes

Hello dynamo community, i am working spool creation script with mark values. i need to apply same value for same size & length of pipes,but i dont know the how to create the script. here’s my script please give a solution for this.

@sovitek hi sir i need your help for this script

Hi @ bim6MRER3 not really sure probably something here your mean…

1 Like

Look into GroupByKey. You can group your pipes by size and length and then create unique values for each grouping.

1 Like

If possible you should use a custom parameter other than ‘mark’ or you will create many unneccessary revit warnings.

2 Likes