Over 1.082.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.
CAD tip # 8353:
Question
With a little add-on tool you can use it to receive remote commands submitted via Twitter. Download TwittControl.lsp from Download and load it with APPLOAD. Make sure you have installed ACADtweet (also from Download or from the AutoCAD App Store). Login to your Twitter account with the TWITTLOGIN command (used just for the API interface here).
Now start the TWITTCONTROL command and specify the feed name used for your command tweets (or accept our sample feed "ACcontrol1"). Specify the prefix (a "password") used to identify (distinguish) the "command" tweets from other standard tweets (default: #Command:).
Now AutoCAD enters an infinite loop waiting for any tweets on the specified Twitter channel. All tweets conforming the specified prefix will be read and executed verbatim, as if they were entered (typed) via your keyboard.
You can use semicolons in your tweets - they will be translated to CRLF ([Enter] key). You can exit the loop by pressing ESC.
See the sample video:
See the LSP source code of TwittControl for any customizations. Never modify the code for using API calls more frequently than about 1 in 10 seconds (Twitter limitation). Never connect your AutoCAD to a foreign twitter feed - it will be open to potentially dangerous commands.