Make Drawing from Part / View Palette

The short and sweet version of my question:
-How to access "Make Drawing from Part" through theAPI?
-If nobody knows how to do that, then my alternative is totry andget the same functionality through a series of equivalentcommands,for which I need to figure out:
-What is the ID for the View Palette taskpane, and how doIinteract with it once I've activated it?
-How do I "preload" a new document with a filename,withoutactually saving it?


The long version:
I'm modifying a macro we use to find the drawings associatedwith apart; the macro looks for drawing files named using thepartnumber, from a custom property.  I'd like to add code sothatif no drawing exists, the macro will automatically createone. The "file/make drawing from part" command doesexactlywhat I want, but I can't find any documentation saying howto accessit from the API.  I've tried recording, but all itshows isNewDocument.  
Since that didn't work, I tried to reverse engineer thesamefunctionality (open the View Palette taskpane, load views forthepart, and give the drawing a tentative filename based on thepartfilename); however, I can't find an ID for the View Palettepane,and if I could I wouldn't know how to load a part there(recordinga macro doesn't show anything happening).  I'm alsonot surehow to get the drawing to "preload" with a filenamederivedfrom the part or some other source.  I suspect most ofwhat Iwant can be obtained by making the new drawing associateitself withthe part somehow but I'm not quite sure how to do that,other thanby inserting a view (which I don't want the macro todo)...

Thanks in advance,
-MarkSolidworksApi macros