Good morning.
I read very late, but I still try to answer them about autocad software.
if you look around the web you should find autolisp, visuallisp or vba applications that perform this specific function.
However I recommend you to rely on the autocad command _superhatch (integrated into the express tools package of autocad).
I also link an answer of an old thread:
Buongiorno a tutti, vi propongo questo nuovo problema: è possibile creare un retino con autocad a partire da un disegno modulare personalizzato? Mi spiego meglio: ho disegnato un pattern, vorrei che il programma lo riconoscesse e lo usasse, come posso fare? Grazie, Rossana