Divide a segment by Minimun Dimension Constrain

Something similar to this?

https://forum.dynamobim.com/t/how-can-i-make-a-if-node/11939/11