Tag: AutoCAD API

  • Ignore White Lines in Selection Filter (AutoCAD .net API)

    Lines of a certain color.
    We want to select line times of a certain color.

    We want a selection filter which simply ignores certain types of colors.

    Here is the ‘simple’ result I came up with:

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

    If writing software then make it easy for your users.
    User Input is critical. You gotta make the user experience amazing.

    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 without complex algorithms.

    This post is a code snipped 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.

  • WPF User Interface for Precast Panel Comparison

    This utilises WPF to compare panels, isolate changes and make better decisions.

     

    See below for a demonstration:

    WPF – Eliminating Errors using Cross Checking from Tek1 on Vimeo.

     

     

     

  • 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.

    You cannot see lines.

    What is the benefit of this you ask? Well it allows for super fast batch processing.

    Please watch my screencast for a very brief introduction to this new technology. I will provide another video of the batch processing power of this babey.

     

    https://knowledge.autodesk.com/community/screencast/d6ef5929-4208-443d-8b53-eca0c637328a

    I hope you learn something.

     

    Ben