Create drawing via API

I am looking for a way to create drawing via API. Can someone point me to some API functions\\properties for this?

SolidworksApi macros