Make Drawing from Active Document

I need code for theMake Drawing from Assembly Command, is this possible? Thanksin advance.SolidworksApi macros