Message 1 of 4

Not applicable
02-10-2015
05:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a template .ipt file which I would like to save when I create a new document as a specific filename, which i will edit once the save dialog box appears. I would like the file name to be "FLAT BAR-" so I can add numbers to the end of it to differentiate my parts. So far my code can open the save dialog box, call it "FLAT BAR-" and make the file type a .ipt. When I hit the save button however, it does not save. It also does not save after I make it "FLAT BAR-1" or "FLAT BAR-2". Any help would be great (new to iLogic).
oDoc = ThisDoc.Document Dim oFileDlg As inventor.FileDialog = Nothing InventorVb.Application.CreateFileDialog(oFileDlg) oFileDlg.Filter = "Autodesk Inventor Part Files (*.ipt)|*.ipt" oFileDlg.FileName = "FLAT BAR-" oFileDlg.ShowSave()
Solved! Go to Solution.