TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Ketxu on September 09, 2018, 06:33:58 AM

Title: [Question]CAD will not repeat last command name start with "+" ?
Post by: Ketxu on September 09, 2018, 06:33:58 AM
Hi all,
Whenever i define a new command name start with "+" character, such as "+D" , "+T" etc, those command will not repeat them when we re-Space / Enter.
This issue not occur when i define command name with -, * ...
Anyone else realized that and How can we fix it ?
Thank all of you ^^


Title: Re: [Question]CAD will not repeat last command name start with "+" ?
Post by: tombu on September 10, 2018, 08:50:48 AM
http://www.worldcadaccess.com/blog/2011/06/tip-getting-the-full-list-of-commands-in-autocad-2012.html
As it's used as a multi-use prefix by AutoCAD I'd avoid using it in defining commands of your own.
There aren't any + prefixed commands listed in help documentation either.
Title: Re: [Question]CAD will not repeat last command name start with "+" ?
Post by: rkmcswain on September 11, 2018, 08:25:06 AM
See also: http://www.hyperpics.com/commands/index.asp
Title: Re: [Question]CAD will not repeat last command name start with "+" ?
Post by: BIGAL on September 13, 2018, 07:44:25 AM
Numbers are supported just have to remember what 1236 does. Maybe D+ T+

Code: [Select]
(defun c:Z+ ()(command "zoom" "e"))