iLogic-Save as

iLogic-Save as

PJKeeffe
Contributor Contributor
599 Views
1 Reply
Message 1 of 2

iLogic-Save as

PJKeeffe
Contributor
Contributor

The ThisDoc.Document.SaveAs command returns a error message when executed but the message box displays the correct path. ( see attached  .ipt)

 

Can anybody explain what is going wrong.

 

Code

 

Dim mPath As String =iProperties.Value("Custom", "Part Folder") Dim mProj As String =iProperties.Value("Custom", "Project Code") Dim mCall As String =iProperties.Value("Custom", "StairCallout")

 

Dim nFilename As String = mPath & "\"  & mProj & " Stair " & mCall & "  Stringer.ipt"

MessageBox.Show(nFilename, "Title")

 

ThisDoc.Document.SaveAs( nFilename , True)

0 Likes
600 Views
1 Reply
Reply (1)
Message 2 of 2

PJKeeffe
Contributor
Contributor

I take it that the lack of response from the forum and Autocad Support (Case No:06907388.) there is a issue or bug with ThisDoc.Document.SaveAs  command.  Please advise if so or if possible show where the error is in the code .

 

thx

0 Likes