Share
 
 

System Functions Reference (AutoLISP/Express Tools)

Note: Express Tools are supported in AutoCAD for Windows only; not available in AutoCAD LT for Windows, or on Mac OS and Web.

The following table provides a summary of the AutoLISP Express Tools system functions.

System functions

Platforms

Windows

Mac OS

Web

Function

Description

AutoCAD AutoCAD LT AutoCAD AutoCAD LT AutoCAD

(acet-sys-beep sound)

Makes a noise

-- -- -- --

(acet-sys-command shell-command)

Runs a command in a shell and waits for the shell to complete execution before returning

-- -- -- --

(acet-sys-foreground)

Forces AutoCAD's application window to be the topmost and receive focus

-- -- -- --

(acet-sys-keystate keycode)

Checks the state of a virtual key

-- -- -- --

(acet-sys-lasterr)

Reports the last error

-- -- -- --

(acet-sys-procid)

Returns the current process identifier

-- -- -- --

(acet-sys-sleep msecs)

Delay to allow other processes to run

-- -- -- --

(acet-sys-spawn flags command [argument ...])

Executes an external program

-- -- -- --

(acet-sys-term processID)

Terminates the given process

-- -- -- --

(acet-sys-wait processID [time])

Waits for a process to complete

-- -- -- --

Was this information helpful?