John,
Bad news. I don't see a way to do this programmatically.
I also attempted the following:
Sub ttt()
ThisApplication.CommandManager.PostPrivateEvent kFileNameEvent,
"D:\Autodesk\Inventor 7\Samples\Parts\OilPan\rao.ipt"
ThisApplication.Documents.Add kDrawingDocumentObject,
"D:\Autodesk\Inventor 7\Templates\part4.idw", True
End Sub
cheers,
Thilak
"John W. Cargile" wrote in message
news:78CD0558150843C33C132125BBCEF4AA@in.WebX.maYIadrTaRb...
> I have an IDW Template that I am specifying to use when creating a new
Part
> programmatically. This IDW already contains 2 Views and when I create a
new
> IDW based on it, I am prompted by Inventor to specify the Model to
associate
> the views with. Is there anyway around the default Inventor Prompt for
this
> and a way to specify the Model programmatically?
>
> Thanks,
> John W. Cargile
> Inventive Solutions
>
>