Jigging with SHIFT, CTRL and Mouse Wheel Functionality (AutoCAD .net API)

_config.yml

Any AutoCAD programmer knows that human beings can sometimes do, instantly, that which will take an algorithm a million years and infinite computational power. 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 without complex algorithms.

This post is a code snippet of how you can utilise the CTRL + SHIFT + Mouse Wheel (up/down) mechanisms in order to produce different desired results when operating a custom jig.

Here is the code:

So when the appropriate user input happens, then the jig can respond accordingly. Yes it’s true – the OOP purists will say: “you’re passing a concrete type in there” – I can always change it later if I want.

Written on March 29, 2018