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.
Solved! Go to Solution.
Solved by mdavis22569. Go to Solution.
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.
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
I think you're refering to this:
There's no way to modify this dialog. You're stuck changing the filter to all files. Sorry.
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
Can't find what you're looking for? Ask the community or share your knowledge.