![]() mnl file, it should be called only from within a defun statement. If the AutoCAD SCRIPT command is used with the command function, it should be the last function call in the AutoLISP routine.Īlso, if you use the command function in an. The AutoCAD SKETCH command reads the digitizer directly and therefore cannot be used with the AutoLISP command function. Until you do so, any subsequent commands will fail. You must manually activate the AutoCAD window and respond to the prompts. If the command requires user input, you'll see the return value ( nil) in the Console window, but AutoCAD will be waiting for input. Note that if you issue command from Visual LISP on Windows, focus does not change to the AutoCAD window. AutoCAD recognizes command names only when it issues a Command prompt. It submits command names and options as strings, 2D points as lists of two reals, and 3D points as lists of three reals. The command function evaluates each argument and sends it to AutoCAD in response to successive prompts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |