Jigging with SHIFT, CTRL and Mouse Wheel Functionality (AutoCAD .net API)
Any AutoCAD programmer knows that things which an algorithm may take a million years and infinite computational power to do can sometimes be easily done by a human being instantly. In the same way it is sometimes much easier to give a human being the ability to choose: then you can get an optimum result […]
Comparing Lines – IEqualityComparer (AutoCAD .net)
It’s not very often that I write something on the Autocad .net API, so here’s something which you, I suppose, will need one day: If you want to compare two lines, with a tolerance, in a collection then you’d need a LineComparer. The MSDN guide says that one should inherit from EqualityComparer, so unquestioningly, […]
Introducing AcCoreConsole
AcCoreConsole is AutoDesk’s brand new toy. It is basically a command line version of AutoCAD. It has no “User Interface”. That means that if you are a user, there are no menus to click on. No buttons. Nothing. You have to do everything via text. Via command line, like it was in the very beginning. […]
Writing Clear Tests
A very rudimentary but fundamental tip: When you are testing something, it is absolutely paramount that you have a crystal clear idea in your mind of exactly what you are testing. If you want to ensure that there are 4 tyres on your car, before you start out from your garage, you must check for […]