Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
This is my first try with iLogic and it does not work as expected.
I want to compare the file name with a string and if the same, add a subject in iProperties.
My_Expression = ThisDoc.FileName(False) 'without extension If String.Compare(My_Expression,"01000072*") Then iProperties.Value("Summary", "Subject") = "My Project Name" End If
So all parts in this project will be 01000072-##.ipt The ## represents a unique number.
I want this rule to trigger before a save (or some point when creating the part)
However, what I have puts "My Project Name in all files I run even when the filename does not match.
What am I doing wrong?
Thanks, Steven
Solved! Go to Solution.