Off subject, but....What does the _ before the command do?
Hi
Below comes from Stig Madsen (posted today) via the AUGI LISP Forum -
Quote:
Originally Posted by todd.mackay
Sorry to intervene, but what is the difference between "._Circle" and "_Circle" - Also, what does "_Non" do in that same example?
Ever worked with a German localized version of AutoCAD?
Befehl: KREIS
3P/2P/TTR/<Mittelpunkt>: Keiner von ... etc.
"KREIS" is the German CIRCLE command and "Keiner" is the None object snap. Because there are numerous localized versions out there, AutoCAD provides a way to override localized names. This is done by prefixing the native command name with an underscore. By using, say, "_CIRCLE" in an AutoLISP routine (or menumacro or VBA macro) you ensure that it will invoke the CIRCLE command no matter which localized version is being used (same thing with subcommands and object snaps such as "_none").
The dot prefix - or period - is for accessing the original command in case a command has been redefined.
A hyphen will invoke the command line version of an otherwise dialog-based command (if a command line version exists).
So, to invoke the original command line version of a LAYER command - independent of localized versions - you could use the form "._-LAYER"
************
Have a good one, Mike