Message 1 of 9
SaveAs with my filename
Not applicable
09-09-2006
04:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,
I am required to call the SaveAs dialog with the file name (that I calculate based on some parameters)
I have seen some posts on similar items which say something like
this
Public Sub MySaveAs()
Dim strName As String
Dim Unsupp As AcadUnsupp.Application
Set Unsupp = ThisDrawing.Application.GetInterfaceObject("AcadUnsupp.Application.1")
strName = Unsupp.ShowSaveDialog("Save As", "GantiTesting", "dwg")
ThisDrawing.SaveAs strName
MsgBox "Drawing saved as: " & strName
End Sub
but the problem is
1. I am using AutoCAD 2005 and it does not have (nor support) AcadUnsupp.arx embeded functions
is there a work around, in 2005
any help in this regard would be appriciated
I am required to call the SaveAs dialog with the file name (that I calculate based on some parameters)
I have seen some posts on similar items which say something like
this
Public Sub MySaveAs()
Dim strName As String
Dim Unsupp As AcadUnsupp.Application
Set Unsupp = ThisDrawing.Application.GetInterfaceObject("AcadUnsupp.Application.1")
strName = Unsupp.ShowSaveDialog("Save As", "GantiTesting", "dwg")
ThisDrawing.SaveAs strName
MsgBox "Drawing saved as: " & strName
End Sub
but the problem is
1. I am using AutoCAD 2005 and it does not have (nor support) AcadUnsupp.arx embeded functions
is there a work around, in 2005
any help in this regard would be appriciated