Message 1 of 4

Not applicable
10-15-2019
12:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I have an idea of a new iLogic rule I wanted to create. The purpose of it was to Save Copy As an image file of a model.
For an example if I Save Copy As a ".bmp" file with the name "PIC_1", it would be great to Save Copy As a new ".bmp" file called "PIC_2" . The purpose of the rule is, that it should understand, that if I have a file with the original name saved, it will save a copy with another name.
The beginning of my code works fine, but somehow I just can't get it to write a new picture file with name.
Can anybody more fluent give me a hand with my struggle pleas?
The beginning of my iLogic rule:
sPath = "C:\files\" ThisDoc.Document.SaveAs(sPath + "PIC_1" + ".bmp", True) If ThisDoc.Document.SaveAs(sPath + "PIC_1" + ".bmp", True), Then ThisDoc.Document.SaveAs(sPath + "PIC_2" + ".bmp", True) End If
Solved! Go to Solution.