Originally Posted by
rcleveland
^C^C(command "_AecbDeviceAdd" "li" "Receptacles" "st" "Duplex Receptacle" "E" "48" "ID" (strcat "48" (chr 34)) "SY" "120V Power" "c" "1" "L" "180" "p" "1" "") \\^C^C_AecbLabelCurveAdd
I don't have the vertical you are using so you will need to test the below for me.
Code:
(defun c:deviceadd () ;<- Change this to something that you would want to type at the command line.
(command "_AecbDeviceAdd" "li" "Receptacles" "st" "Duplex Receptacle" "E" "48" "ID" (strcat "48" (chr 34)) "SY" "120V Power" "c" "1" "L" "180" "p" "1" "")
(command "_AecbLabelCurveAdd")
)
You can either paste the above code onto your command line, which then would define the c:deviceadd command. After it is defined, you can type it at the command prompt. You could also paste the above code into a file with whatever file name you want as long as it has a ".lsp" extension. You could then use APPLOAD to load that file. You would then be able to type the command at the command prompt.
If you pasted the above into a file and use APPLOAD to load it, you could place the following code into a toolbar or menu
Code:
^c^c(c:deviceadd) ;<- again this would match the above command name if you choose to change it.