How to print an invisble oependeIDW

How to print an invisble oependeIDW

Anonymous
Not applicable
335 Views
2 Replies
Message 1 of 3

How to print an invisble oependeIDW

Anonymous
Not applicable
Hi,

in Inventor 2009 i want to print some known idw's out of an Partlist.

AI open this files with

Set oDoc_Idw = oApp.Documents.Open(sIDWName, False)

After that i try to print with oDoc_Idw.PrintManager but nothing happend.

If the file is opened visible with

Set oDoc_Idw = oApp.Documents.Open(sIDWName, True)

the same code works well and files ar printed as intended.

Is there any way to print invisible opened IDW Files?

I thougth it would run much more faster and can be done in background?

Any advice?

Thanks,

Ralf
0 Likes
336 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
I am not positive but I do believe that you can't print invisible files as
you have found. But why not use Apprentice instead. Then you don't even
need Inventor running.

--
KWiKMcad
Kent Keller
"r.g." wrote in message
news:6345527@discussion.autodesk.com...
Hi,

in Inventor 2009 i want to print some known idw's out of an Partlist.

AI open this files with

Set oDoc_Idw = oApp.Documents.Open(sIDWName, False)

After that i try to print with oDoc_Idw.PrintManager but nothing happend.

If the file is opened visible with

Set oDoc_Idw = oApp.Documents.Open(sIDWName, True)

the same code works well and files ar printed as intended.

Is there any way to print invisible opened IDW Files?

I thougth it would run much more faster and can be done in background?

Any advice?

Thanks,

Ralf
0 Likes
Message 3 of 3

Anonymous
Not applicable
thank's Kent for your hint but i thougt Apprentice would'nt work within a
vba makro? Hopefully i dont have to write an addin only because of this
little task. Am i right with vba an Apprentice? Ralf


Am 27.02.2010, 17:03 Uhr, schrieb Kent :

> I am not positive but I do believe that you can't print invisible files
> as
> you have found. But why not use Apprentice instead. Then you don't even
> need Inventor running.
>



--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
0 Likes