I created a dynamo to insert family sprinkler for all room, but i do not understand:

- I only get a distance of sprinkler x, y director (many rooms, many distance), i want to get distance each room to distribution with difference distance.
- In a List of group “Calculation Distance Of Sprinkler X,Y”, i can not get distance 3200 automatic, i input by hand, i had a idea get distance/100=integer number and select max value but i do not search it.

P/s: maximum distance sprinkler of wall = 1500, min = 1000.

maximum distance sprinkler = 3600, min = 2400.

Node Line.GroupByParallel of Chinamo Package.

Node CurveLoop.Simplify of Springs Package.

Please…Thank you very much

Insert Family All Room.dyn (455.0 KB)