How can I put a dimension on all the foundation and connect them with gride?

Hello @rashed and welcome to the community…

That topic should have many solution try take a search here in the forum, and if it doesnt work then share an image,dyn,rvt where is goin wrong and we can probably help…take a look here as well