samifox Posted June 14, 2016 Share Posted June 14, 2016 hi can someone please explain what the dollar sign means? $M=$(if,$(and,$(getvar,CleanScreenState),1),^C^C_CleanScreenOFF,^C^C_CleanScreenON) Quote Link to comment Share on other sites More sharing options...
ReMark Posted June 14, 2016 Share Posted June 14, 2016 The $ sign introduces the DIESEL expression. Quote Link to comment Share on other sites More sharing options...
samifox Posted June 14, 2016 Author Share Posted June 14, 2016 The $ sign introduces the DIESEL expression. can (getvar) be used on LT as a DIESEL expression? Quote Link to comment Share on other sites More sharing options...
ReMark Posted June 14, 2016 Share Posted June 14, 2016 From the AutoDesk Knowledge Network... Quote Link to comment Share on other sites More sharing options...
YZ Posted June 16, 2016 Share Posted June 16, 2016 Yes, I use GETVAR in DIESEL expressions within command macros in LT regularly. (But you cannot use the "USERR1", "USERS1" etc variables that are available by default as temporary variables in full version.) GETVAR and SETVAR in LT can only act on existing System Variables, as far as I know. One thing you can use in LT that is not in the ful version is GETENV and SETENV which can get and set "Environment Variables". You can give them any name you want and they are set at the installation level (as opposed to the session or the drawing file level). That is, if you SETENV;Name;Example; then a variable called "Name" is created and given a value of "Example". It will be accessible from any drawing on that Windows user profile on that machine. Quote Link to comment Share on other sites More sharing options...
steven-g Posted June 16, 2016 Share Posted June 16, 2016 (But you cannot use the "USERR1", "USERS1" etc variables that are available by default as temporary variables in full version.) You can use USERR1-5 and USERI1-5 (but for some reason not USERS1-5), but I donùt use them much because the SETENV and GETENV is available. Quote Link to comment Share on other sites More sharing options...
samifox Posted June 16, 2016 Author Share Posted June 16, 2016 why ^C^Cfiledia open C:\Dropbox\Cloud\Autocad\Blocks\Database\sbg000.dwg wont work? Quote Link to comment Share on other sites More sharing options...
tombu Posted June 17, 2016 Share Posted June 17, 2016 For DIESEL in AutoCAD start here: http://www.crlf.de/Dokumente/Diesel/Diesel.html Quote Link to comment Share on other sites More sharing options...
tombu Posted June 17, 2016 Share Posted June 17, 2016 why ^C^Cfiledia open C:\Dropbox\Cloud\Autocad\Blocks\Database\sbg000.dwg wont work? Try ^C^Cfiledia [color="red"]0[/color] open C:\Dropbox\Cloud\Autocad\Blocks\Database\sbg000.dwg Quote Link to comment Share on other sites More sharing options...
YZ Posted June 21, 2016 Share Posted June 21, 2016 You can use USERR1-5 and USERI1-5 (but for some reason not USERS1-5), but I donùt use them much because the SETENV and GETENV is available. What?! I did not know that! I tried so many times, maybe just got the syntax wrong. Thanks steven-g! Quote Link to comment Share on other sites More sharing options...
steven-g Posted June 21, 2016 Share Posted June 21, 2016 What?! I did not know that! I tried so many times, maybe just got the syntax wrong. Thanks steven-g! I thought you might like that. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.