I’m trying to create a constraint on my DC to snap a length down to the lower of the closest values, but I cant figure out how.
The use-case is, I’m building a Drawer component that allows scaling or user-entered drawer depth. The drawer is intended to use undermount slides (Blum), which require the dimension to be an explicit length based on the size of the slide. My current Nearest function uses the list of available slides as the options, but the functionality I want is for it to choose the largest slide available thats not longer than the entered dimension.
Years ago I made a DC drawer box for use with Blum undermount drawer glides. It was based on the calculations from the Blum calculator they supplied at the time. It sizes the drawer box based on the depth of the cabinet and the width and height of the opening. It also output numbers needed by the drawer box maker to quote pricing. It wasn’t required for the application but it seems to me that it should be possible to identify the drawer guide part number using an IF/THEN function. If I get a minute I’ll see what I can do.