Just to be sure: one cannot use a conditional IF statement in a formula in Autocad. Correct? I'm on 2011, maybe it's possible in a newer version? Does anyone know of a workaround that doesn't involve a data link or xls2cad?
Thanks!
Just to be sure: one cannot use a conditional IF statement in a formula in Autocad. Correct? I'm on 2011, maybe it's possible in a newer version? Does anyone know of a workaround that doesn't involve a data link or xls2cad?
Thanks!
Phillip Bradshaw
Lead Pixel Pusher, Lucid Design Studio
CAD Administrator, Heatcraft RPD
A doctor can bury his mistakes but an architect can only advise his clients to plant vines. - Frank Lloyd Wright
Kinda incorrect, but substantially correct. You can use "if" logic with Diesel statements; but any fields you try to put inside of a Diesel statement are turned into plain text at whatever the field's current value is.
If I am incorrect in this, someone please let me know!
2012-02-24: Finally got around to installing my home copy of AutoCAD... no longer relying on my horrible memory for "how-to" advice!
Okay, since I just want to reference table cells and not using fields, this might work. I don't know much about diesel expressions aside from what I see when creating a field, so I'm going to need to research that part further and see how it works in practice. Thanks for your help![]()
Phillip Bradshaw
Lead Pixel Pusher, Lucid Design Studio
CAD Administrator, Heatcraft RPD
A doctor can bury his mistakes but an architect can only advise his clients to plant vines. - Frank Lloyd Wright
I've created the IF statement in a diesel expression, but I'm beginning to think you aren't able to reference a table cell in diesel...
Phillip Bradshaw
Lead Pixel Pusher, Lucid Design Studio
CAD Administrator, Heatcraft RPD
A doctor can bury his mistakes but an architect can only advise his clients to plant vines. - Frank Lloyd Wright
Didn't catch that you were talking about tables, sorry. But yeah, I've tried the exact same thing before and gave up; just wasn't worth it.
Though, if your "if" statements are simple enough and deal only with numbers, you could probably change them into formulas that would work.
Honestly, your best bet is probably to set all of that up in Excel and link it. If, like me, you don't have Excel... the best bet is probably to get a second job and use the money to buy a copy, 'cause work sure as hell won't be taking care of it...
2012-02-24: Finally got around to installing my home copy of AutoCAD... no longer relying on my horrible memory for "how-to" advice!
Yeah, I was trying to avoid creating yet another file... It seems like conditionals in formulas would be something that would be a no-brainer for Autodesk... Oh well, back to square one. Thanks for your help![]()
Phillip Bradshaw
Lead Pixel Pusher, Lucid Design Studio
CAD Administrator, Heatcraft RPD
A doctor can bury his mistakes but an architect can only advise his clients to plant vines. - Frank Lloyd Wright