AutoCAD LT
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Replacing LISP with Macros for AutoCAD LT
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks all for the help.
I have all my layer management LISP routines converted over to LT. Now on to the others!
Re: Replacing LISP with Macros for AutoCAD LT
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I also had to give you two kudos for those two post. Great solution and follow up explanation.
Re: Replacing LISP with Macros for AutoCAD LT
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
This one is even better, a true toggle. The only thing is that you have to make sure the var "layon-off" (or whatever you're using) is created/existing with a value of 1 (specifies that said layers are on) before running it.
^C^C$M=$(if,$(=,$(getenv,layon-off),0),setenv;layon-off;1;_-Layer;ON;m*;;,setenv;layon-off;0;_-Layer ;OFF;m*;;)^Z
HTH!
(if ("mysolution"=answer) then (click "Accept As Solution"))
--------------------------------------------------
Brandon Gingerich
Re: Replacing LISP with Macros for AutoCAD LT
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
There are many on-off needs for AutoCAD users, these tips can be modified with a little imagination to do so much in LT.
I'm sure we all have our favorites, think about it during a typical day of CAD and the flood gates will open.
Remember though, SETENV accesses the Windows Registry to add these user "environment variables": some registry cleaners like to remove them. AFAIK limited Windows user accounts are not affected in creating them, but I've never tested it.



