January 2012
-
One great thing about having an engaged blog readership is that people catch issues quickly (which helps keep me honest :-). When I posted late on a Friday night (under self-imposed pressure to get a third post up in a four-day first week back after the holidays), I suspected I'd missed something. I even checked the protocol I expected to contain the function I knew had to be there, but obviously not thoroughly enough. Anyway, all this to say that there's a better, more general approach to finding whether a point is on a polyline, the subject of the last…
-
Occasionally I come across a topic that I'm sure I've addressed in a previous post, but for the life of me I can't track it down. The code in a recent response by Balaji Ramamoorthy, from the DevTech India team, fits firmly into this category: it shows how to iterate through a polyline's segments, testing whether a point is on the polyline. I did some refactoring of Balaji's code to extract it into a helper function (although not an extension method, which people who use them may prefer), but otherwise this C# code is basically his. using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices;…
-

Thanks to Matt Stein, Senior User Experience Manager in the AutoCAD team, for giving me permission to publish the following information. In this previous post, we can see how it's possible to display our own contextual ribbon tabs inside AutoCAD during custom operations. To help make applications consistent with AutoCAD, here are some guidelines around colours to be used contextual ribbon tabs (the "Theme" attribute you should set in your custom ribbon tab's XAML file): If it is an annotation object: Purple Anything to do with blocks: Yellow Anything to do with underlays or references (except blocks): Cyan Text editor…
-
I hope readers of this blog were able to relax over the festive period – I certainly was. 🙂 I'll post something more technical, later in the week, but I just thought I'd start the year with a quick greeting post. On 2012… I expect 2012 to be a very interesting year for me, personally, as I transition into my new role within the company. I'm certainly excited to see what it brings (I'll have a better idea of what's in store within the coming weeks, I expect). I also expect 2012 to be another interesting year from a technology…