CalypsoArt Posted July 27, 2016 Share Posted July 27, 2016 I'm transitioning from Win7/AC2012 to Win10/AC2017 LT. I migrated my workspace over but my WipeoutFrames button did not go. I tried to create it in 2017 LT but no go. In 2012 its ^C^C_tframes. This toggles the frames on or off. 2017 does not recognize that command. I did find that 2017 has the WIPEOUTFRAME command, but this requires me to enter 0 or 1. My old toggle command just reversed states with no input from me. Is there a macro string that will achieve this? Quote Link to comment Share on other sites More sharing options...
Dadgad Posted July 27, 2016 Share Posted July 27, 2016 (edited) You should be able to do this with a Diesel expression, if they are available in LT, not sure. Yes they are, had a little down time, and now find that diesel can be used with LT, this link should help you get back on the tracks. https://knowledge.autodesk.com/support/autocad-lt/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-LT/files/GUID-27BF17D6-797C-45A0-AE7D-B0344C81AB48-htm.htm I should have remembered that, because one of the forum's resident LT magicians steven-g is very adept at using them, in lieu of lisp, to coax LT into doing things, of which most users would assume LT incapable. Edited August 2, 2016 by Dadgad Quote Link to comment Share on other sites More sharing options...
SLW210 Posted July 28, 2016 Share Posted July 28, 2016 TFRAMES is an Express Tool (LISP) and not available for LT. Quote Link to comment Share on other sites More sharing options...
tombu Posted July 28, 2016 Share Posted July 28, 2016 I'm transitioning from Win7/AC2012 to Win10/AC2017 LT. I migrated my workspace over but my WipeoutFrames button did not go. I tried to create it in 2017 LT but no go. In 2012 its ^C^C_tframes. This toggles the frames on or off. 2017 does not recognize that command. I did find that 2017 has the WIPEOUTFRAME command, but this requires me to enter 0 or 1. My old toggle command just reversed states with no input from me. Is there a macro string that will achieve this? Not familiar with LT or if WIPEOUTFRAME system variable works in it, in the full version it can be set to 0, 1, or 2. For toggling system variables with DIESEL check out http://www.crlf.de/Dokumente/Diesel/Diesel4.html Maybe a macro like: [$(if,$(getvar,WIPEOUTFRAME),!.)WIPEOUTFRAME]+ ^C^WIPEOUTFRAME;$M=$(if,$(getvar,WIPEOUTFRAME),0,1); Quote Link to comment Share on other sites More sharing options...
Dadgad Posted July 28, 2016 Share Posted July 28, 2016 Not familiar with LT or if WIPEOUTFRAME system variable works in it, in the full version it can be set to 0, 1, or 2. For toggling system variables with DIESEL check out http://www.crlf.de/Dokumente/Diesel/Diesel4.html Maybe a macro like: [$(if,$(getvar,WIPEOUTFRAME),!.)WIPEOUTFRAME]+ ^C^WIPEOUTFRAME;$M=$(if,$(getvar,WIPEOUTFRAME),0,1); Excellent tombu, I meant to take a crack at it today, never got around to it, but it looks like you have probably nailed it there! Quote Link to comment Share on other sites More sharing options...
SLW210 Posted July 28, 2016 Share Posted July 28, 2016 SEE THIS as well, it may help. Quote Link to comment Share on other sites More sharing options...
Dadgad Posted July 29, 2016 Share Posted July 29, 2016 SEE THIS as well, it may help. That was a good link SLW, I very rarely have occasion to use them, but that really helps consolidate the options available, thanks. Quote Link to comment Share on other sites More sharing options...
SLW210 Posted July 29, 2016 Share Posted July 29, 2016 Here is a good read, from the same site in the link posted by tombu. DIESEL Quote Link to comment Share on other sites More sharing options...
tzframpton Posted July 29, 2016 Share Posted July 29, 2016 I would propose dropping the WIPEOUT tool altogether and instead use Masking techniques via True Color + Solid Hatch, or a 0% screened STB Style/CTB Color. Quote Link to comment Share on other sites More sharing options...
CalypsoArt Posted July 29, 2016 Author Share Posted July 29, 2016 Thanks for the effort guys. LT's wipeout has three states 0, 1, & 2. My macro in 2012 just switches from ON to OFF and does not require any input. I don't know the syntax for AC macros, but from my college days programming I think it would be something like this. On click If State =0, Then 1 If state =1, Then 0 Quote Link to comment Share on other sites More sharing options...
SLW210 Posted August 1, 2016 Share Posted August 1, 2016 As I mentioned earlier, TFRAMES is a LISP in Express Tools, you most likely will not get that functionality using LT. You will need to figure out the best you can get using DIESEL and Button MACRO's or go to FULL AutoCAD or an alternative that uses LISP like BricsCAD. Quote Link to comment Share on other sites More sharing options...
CalypsoArt Posted August 1, 2016 Author Share Posted August 1, 2016 You are correct. TFRAMES is an express tool and is not available in LT. LT has FRAMES. I've made buttons but just don't know the correct programming syntax for what I'd like. I'd like one button to switch them on (0 state) and another to switch them off. (2 state) ^C^C_frame calls up the function, but I don't know how to express 0 then enter in DIESEL. Wouldn't that be the answer? Quote Link to comment Share on other sites More sharing options...
Dadgad Posted August 2, 2016 Share Posted August 2, 2016 You are correct. TFRAMES is an express tool and is not available in LT. LT has FRAMES. I've made buttons but just don't know the correct programming syntax for what I'd like. I'd like one button to switch them on (0 state) and another to switch them off. (2 state) ^C^C_frame calls up the function, but I don't know how to express 0 then enter in DIESEL. Wouldn't that be the answer? Yes, that is what needs to be done. As regards the proper syntax, have you not looked at the links provided in earlier posts about the use of Diesel? That would seem to be the next logical step, no? Quote Link to comment Share on other sites More sharing options...
steven-g Posted August 2, 2016 Share Posted August 2, 2016 (edited) This is a site I visit often, he has some really good examples of using diesel, unfortunately there is no recent stuff but it's still good as a reference. http://cadingandcoding.blogspot.be/search/label/DIESEL And this is a macro in diesel that will toggle the wipeoutframe between 0 and 1 (you could alter it to toggle 0 and 2 if you prefer - or get really adventurous and cycle between all 3 options ) ^C^C^C$M=$(if,$(=,$(getvar,wipeoutframe),1),wipeoutframe;0;;,wipeoutframe;1; Edited August 2, 2016 by steven-g Quote Link to comment Share on other sites More sharing options...
Dadgad Posted August 2, 2016 Share Posted August 2, 2016 This is a site I visit often, he has some really good examples of using diesel, unfortunately there is no recent stuff but it's still good as a reference.http://cadingandcoding.blogspot.be/search/label/DIESEL And this is a macro in diesel that will toggle the wipeoutframe between 0 and 1 (you could alter it to toggle 0 and 2 if you prefer - or get really adventurous and cycle between all 3 options ) ^C^C^C$M=$(if,$(=,$(getvar,wipeoutframe),1),wipeoutframe;0;;,wipeoutframe;1; Outstanding, the Diesel-meister has spoken! Quote Link to comment Share on other sites More sharing options...
CalypsoArt Posted August 2, 2016 Author Share Posted August 2, 2016 Thank you. Quote Link to comment Share on other sites More sharing options...
iconeo Posted August 2, 2016 Share Posted August 2, 2016 Late to the party but this is what I use. 'WIPEOUTFRAME $M=$(if,$(=,$(getvar,WIPEOUTFRAME),1),0,$(-,2,$(getvar,WIPEOUTFRAME))) And this for XCLIP frames. 'XCLIPFRAME $M=$(if,$(=,$(getvar,XCLIPFRAME),1),0,$(-,2,$(getvar,XCLIPFRAME))) 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.