iLogic to create copy

iLogic to create copy

Anonymous
Not applicable
497 Views
3 Replies
Message 1 of 4

iLogic to create copy

Anonymous
Not applicable

Hello all, I need help coding iLogic to make a copy of the open model under a diferent name is a pre determined location with the same extension.

Any help would be greatly appreciated, I have been searching for the answer but can't find exactly what I need

0 Likes
Accepted solutions (1)
498 Views
3 Replies
Replies (3)
Message 2 of 4

jdkriek
Advisor
Advisor
Accepted solution

Here you go 😉

 

Dim Path As String = "C:\Temp\"
Dim FileName As String = "yourfilename"
Dim ext() = Split(ThisDoc.FileName(True), ".")
ThisDoc.Document.SaveAs(Path & FileName & "." & ext(1), True)
Jonathan D. Kriek
MFG Solutions Engineer
KETIV Technologies, Inc.


0 Likes
Message 3 of 4

Anonymous
Not applicable

Thank you sir it worked great!!!!

0 Likes
Message 4 of 4

jdkriek
Advisor
Advisor

You're welcome. Glad it worked for you.

Jonathan D. Kriek
MFG Solutions Engineer
KETIV Technologies, Inc.


0 Likes