Characters entered in front of AutoCAD commands
Print This Post
![]() |
Author | Orhan Toker |
| Profession | Architect M.Sc. | |
| Autodesk Authorized Consultant | ||
| Database Specialist | ||
Hello Dailyautocad readers,
You may have noticed that when we are explaining AutoCAD commands, sometimes we put “_” or “.” in front of them. I though that you might want to learn the meaning of these characters, so let me start explaining.
Some AutoCAD applications may re-define AutoCAD commands. They do this to create a more advanced version of that command. In AutoLISP, this is done by UNDEFINE command. For example:
(command "UNDEFINE" "LINE")
(defun c:line()
…
…
)
In this code, by writing the necessary codes in place of “…” s, you can re-define a LINE command. By this way, when you execute LINE command, LINE command that is defined by the user is executed instead of AutoCAD’s original LINE command. If we would like to execute the original LINE command in such a case, then it is enough to place a “.” in front of LINE command.
Command: (command “undefine” “line”)
undefine Enter command name: line
Command: nil
Command: l
Unknown command “LINE”. Press F1 for help.
Command: .line
Specify first point:
Specify next point or [Undo]:
Specify next point or [Undo]:
Command:(Command “redefine” “line”)
You can try the above given example by yourself either. Moreover, we also put “_” in front of AutoCAD commands. The meaning of this is for entering English commands whatever language it is at. Let me explain this with an example:
Befehl: _LINE
In german version of AutoCAD, line command is entered by this way.
Another character that we can use in front of any AutoCAD command is “-“. When you use the “-“ character in front of AutoCAD command, the dialogue box of related command don’t appear. You can continue the execution of command with the help of directives in command line area.
I hope that this information is useful for you. Have a nice day…
Bu yazinin Turkce’sini okumak icin basiniz.
Similar Posts
Rate this article:

