ScottMC Posted Friday at 10:36 PM Posted Friday at 10:36 PM AI suggestion not working - saved it to my menu ^C^C$M=$(if,$(==,$(getenv,ShowTabs),"0"),_setenv ShowTabs 1,_setenv ShowTabs 0) my acad replies: Command: setenv Unknown command "SETENV". Press F1 for help. Command: ShowTabs Unknown command "SHOWTABS". Press F1 for help. Command: 0 Unknown command "0". Press F1 for help. Quote
ScottMC Posted Friday at 11:21 PM Author Posted Friday at 11:21 PM Really the concern is if system set/getenv can be used in a macro, and using it for visibility as with: ID_BouReg [$(if,$(and,$(getvar,hpbound),1),!.)Polyline BOundary ]$M=$(if,$(and,$(getvar,hpbound),1), setvar hpbound 0, setvar hpbound 1) regenall which is the switch (the $if..,!.) for poly/region of boundary which shows with a 'check when set to polyline. Quote
ronjonp Posted 16 hours ago Posted 16 hours ago 'Showtabs" does not exist in my AutoCAD 2027. Are these the variables you're after? FILETAB: Type this into the command line to instantly display the file tabs. FILETABCLOSE: Type this into the command line to hide the file tabs. FILETABSTATE: The system variable used to check or set their status (1 for on, 0 for off) Quote
SLW210 Posted 1 hour ago Posted 1 hour ago What exactly are you trying to do? Are you using AutoCAD 2000? I only have Tilemode and CTAB in my AutoCAD 2000i at home for dealing with the Tabs. Why Diesel? You posted this in the LISP forum. Quote
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.