How to import hatch pattern by api

I have a hatch pattern file,I wan’t import it to my rhino at startup.May I do it by api?

OK,Thanks :handshake: