tag:blogger.com,1999:blog-3819969762642328950.post5264642786965068168..comments2023-09-24T04:34:17.388-05:00Comments on The LT Side of Things: DIESEL "IF" StatementErikhttp://www.blogger.com/profile/00436522153564548738noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3819969762642328950.post-26204396099248065012008-02-05T07:30:00.000-06:002008-02-05T07:30:00.000-06:00I am trying to create a one pick selection for dde...I am trying to create a one pick selection for ddedit and attedit. I am using LT 2008 with the noun/verb off, otherwise the double-click option would do the job.<BR/>I know I have to somehow pick the object and find out what it is.<BR/><BR/>This is what I have so far. I know the test area is wrong. Any help would be apprecitated.<BR/><BR/>^C^C$M=$(if,$(=,$(getenv,_ddedit),1),_ddedit,_attedit)ablanchardhttps://www.blogger.com/profile/10330791033884747590noreply@blogger.comtag:blogger.com,1999:blog-3819969762642328950.post-11366630453518098292007-09-05T01:33:00.000-05:002007-09-05T01:33:00.000-05:00I use this to toggle layer named "1keevis" (its we...I use this to toggle layer named "1keevis" (its welding in Estonian).<BR/>What it does it creates this layer if its not present , otherwise it toggles between this and previous.<BR/><BR/>Its a copy from my mnu file. I made my own firm and had no money at the beginning to buy full CAD- so i tried to make LT look and feel as FULL.<BR/><BR/>ID_ktb [_Button("ktbar","ktbar","ktbar")]^C^C-layer;new;1keevis;color;red;<BR/>1keevis;;$m=$(IF,$(eq,$(getvar,clayer),1keevis),-layer;set;$(if,$<BR/>(eq,$(getenv,la1),1keevis),0,$(getenv,la1));;,_SETENV;la1;$M=$<BR/>(GETVAR,CLAYER);-layer;set;1keevis;;)_-toolbar;nurkkeevis;;<BR/><BR/>I used enter to break it up - delete it.Priithttps://www.blogger.com/profile/15087080579151058006noreply@blogger.com