I've spent some time searching the forums, but I've come up with nothing that helps me on this:
I am starting to write a program that takes an existing assembly (whose location on the network is known), saves a copy of it, then performs alterations on the copy. I want the program to start by asking the user where the copy should be saved, but I cannot make the save as dialog box work. I wrote this program in VBA for Inventor already, and the code I used was:
Dim oFileDlg as FileDialog
Dim EngPath as String
Call ThisApplication.CreateFileDialog(oFileDlg)
oFileDlg.DialogTitle = "Input Filename"
oFileDlg.InitialDirectory = \\server\ENG
oFileDlg.CancelError = True
oFileDlg.ShowSave
EngPath = (oFileDlg.Filename)
Any suggestions?
SolidworksApi macros