This will sound like a strange way to offer as a solution when on a Max Forum but knowing the fees and budgets involved with architecture, there is often room to have funds to invest in tools. We all use various tools. We can't expect Max to do everything imaginable. Sometimes there are other programs we use and they become integral in our workflow where Max might be the anchor but many others participate.
I'd recommend looking at Rhino and its Grasshopper plugin. It's made specifically to do parametric architectural design, exactly what you are trying to do. Rhino is not that expensive and it's a fantastic CAD alternative should you need that now and again. Have a look at this for some inspiration:
https://www.youtube.com/results?search_query=grasshopper+parametric+design
Rob Holmes

------------------------------------------------------------------------------------------------------------------------------------------
3ds Max (2023-2025), V-Ray 6.2, Ryzen 9 3950-X Processor, DDR 4 128MB, Gigabyte Aorus X570 Master motherboard, Sabrent Rocket NVMe 4.0 M.2 drives, NVidia RTX 4090, Space Pilot Pro, Windows 11 Pro x64, Tri-Monitor, Cintiq 13HD, Windows 11 x64
------------------------------------------------------------------------------------------------------------------------------------------