Message 1 of 13
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need some help here, I'm trying to set a text string to a field that read a 2 characters from the file name. Kinda of read characters 12 and 13, and if content is RD, the value should be RED, if YL, Yellow, GR - Green, and so on. I have 5 or 6 possible values.
The file name is like: X-25-034-A-PE-PGR-.dwg
I alread set this, but always get a "$(IF,??) " error:
$(IF,$(=$(substr,$(getvar,dwgname),12,2)RD),"RED")
The IF/THEN is correct?
Can a text string be assigned to the field? Is this the way?
Help will be very apreciated.
Thanks to all.
Paulo Miranda
Solved! Go to Solution.