In my OpenCAD book, I explain how to write a DRX plug-in. I start with a simple “Hello World” plug-in using just 22 lines of code. I started a group called “DRX” at IntelliCAD.net and posted the 22 lines of code there. Daniel, a brilliant programmer and avid contributor to IntelliCAD.net, beat me by posting a minimal ARX/BRX plug-in on the “Bricscad” group of IntelliCAD.net that has just 17 lines of code.
I am beginning to like this X rated coding. I wonder if anyone can come up with something smaller.