Message 1 of 8
IF statement in a .scr file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a scrip that is fairly simple... in the starting stages, but I am under the impression that in .scr files, you can't have "logic" so to speaks. Meaning, I wasn't sure if I can put an 'IF' / 'THEN' / 'ELES' statement in one. Here's what I have.
FILEDIA
0
CMDDIA
0
sdi
0
OPEN
C:\Project\Test_001.dwg
-XREF
D
*
-IMAGE
D
*
DXFOUT
Something simple to detach xref's and images from a drawing before exporting to a dxf. The issue is, what if that drawing doesn't exist? As it stands, the script will bomb out and stop. What I'd like it to do instead of bombing out... go to that directory and create the dxf, then finish the rest of the script. Is that possible?