Jump to content

Recommended Posts

Posted

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.

 

Posted

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.

 

image.png.aeef65ab4195d45b4db41c6e634839c1.png

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...