Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

file type to open

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
Anonymous
530 Views, 7 Replies

file type to open

Is there a way to setup custom files when opening? I mean, like file types to open. It is normally set to iam,idw,dwg,ipt. Is there a way to add pdf with those so I don't have to use all files to see the pdfs.

7 REPLIES 7
Message 2 of 8
mdavis22569
in reply to: Anonymous

I'm confused ... you want to open a PDF in Inventor? That's not possible... are you talking about doing it in Windows and open PDF's always with a pdf viewer?

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------
Mike Davis

EESignature

Message 3 of 8
Anonymous
in reply to: mdavis22569

No, I don't want to open it in inventor. I just want to be able to see the file. so I don't need to go into windows. I know I can do this by viewing all files. 

Message 4 of 8
Curtis_Waguespack
in reply to: Anonymous

Hi Dferr34,

 

I don't know of any way to modify the default Open dialog. So I think you're likely out of luck there. Using the All Files filter is likely the best bet.

 

But here is an iLogic snippet that will show Inventor files and PDF files in a custom Open dialog box. I doubt that's what you're looking for though.

http://inventortrenches.blogspot.com/2012/01/creating-basic-ilogic-rule-with-event.html

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

 

Dim oFileDlg As inventor.FileDialog = Nothing
InventorVb.Application.CreateFileDialog(oFileDlg)
oFileDlg.Filter = _
"File Types (*.idw, *.dwg, *.iam, *.ipt, *.pdf)" & _
"|*.idw;*.dwg;*.iam;*.ipt;*.pdf"
oFileDlg.DialogTitle = "Select a File"
oFileDlg.InitialDirectory = ThisDoc.Path
oFileDlg.CancelError = True
On Error Resume Next
oFileDlg.ShowOpen()
If Err.Number <> 0 Then
ElseIf oFileDlg.FileName <> "" Then
oDoc = ThisApplication.Documents.Open(oFileDlg.FileName, True)
End If

 

Message 5 of 8
mrattray
in reply to: Anonymous

I think you're refering to this:

 

Capture.JPG

 

There's no way to modify this dialog. You're stuck changing the filter to all files. Sorry.

Mike (not Matt) Rattray

Message 6 of 8
mdavis22569
in reply to: Anonymous

You want a view all file types ....all the time ... Hmmm Like Curtis was saying you'll probably need an ilogic that would be open ..but show all

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------
Mike Davis

EESignature

Message 7 of 8
ampster40
in reply to: Anonymous

instead of adjusting Files of type to All Files, just type *.pdf in the file name field and hit your enter key.

 

Besides the OldVersions folder (if present), you will only see pdf's.

 

HTH

Message 8 of 8
Anonymous
in reply to: mrattray

okay, thanks.

 

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

Post to forums  

Autodesk Design & Make Report