Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IDW Drawing View

1 REPLY 1
Reply
Message 1 of 2
Anonymous
167 Views, 1 Reply

IDW Drawing View

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
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

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
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report