12 posts from December 2011

December 29, 2011

The implementation in this recent post to display a “Help!” message to the screen was well received by the person requesting it, but they ended up also wanting a command to display a message in the case that the user has help to offer other members of the class. Which... Read more →

December 27, 2011

Thanks, once again, to Scott McFarlane for working his magic and finding a simple way to make an approach work that I’d convinced myself wasn’t workable. (He took the implementation in my last post and adjusted it to work via a non-static event – something I had tried to do... Read more →

December 23, 2011

In the last post, we saw some code that provided a relatively crude mechanism for finding out when a particular custom palette set gets closed by the user. In this post, we encapsulate this technique in a new class – which I’ve called PaletteSet2, for the want of a better... Read more →

December 21, 2011

I’ve just come back from the last of the European DevDays in the UK. It was fun being back in my home country so close to Christmas, and the event itself seemed to go well. It was great to catch up with some developers I’ve known since my early years... Read more →

December 19, 2011

This recent request came into my inbox from our discussion group support team: I know that this is not strictly an AutoCAD 2012 issue, BUT as her CAD teacher it’s my job to do the best I can for all of my students so I’m reaching out and asking for... Read more →

December 16, 2011

As hinted in my last post, I have some news to share with you all. After sixteen and a half years with the ADN team (and for a reminder of my various jobs, check out this previous post or you might also watch the video on my about page), I’m... Read more →

December 14, 2011

I’m here, once again, for our annual Developer Day and DevLab, in between Paris (on Friday) and Farnborough (Monday and Tuesday). Others in the team are doing many more dates, so I have it easier, in many ways. Just as I did, last year, I ended up flying from GVA... Read more →

December 13, 2011

Another piece of code culled from an email from Balaji Ramamoorthy, from DevTech India. I did a little refactoring and formatting, to fit the blog. Thanks, Balaji! :-) The below C# code demonstrates how to use Solid3d.ChamferEdges() with a user-selected edge and face. Balaji has also provided code to determine... Read more →

December 09, 2011

As a follow-on from the last post, today we’re going to see how to actually stop the erase operation from happening for a certain type of object (in this case we’re going to focus on Lines). Thanks for Stephen Preston for showing us the way in his comment on that... Read more →

December 07, 2011

I started looking into the ObjectOverrule class, this week, to see if I could use it to prevent erasure of certain objects. My thinking was that overruling Erase() would allow me to control whether an object was erased or not, simply by my decision whether or not to super-message to... Read more →

December 05, 2011

On the day I left AU, I facilitated an unconference session (CP4459-U) on AutoCAD .NET development, focusing on tools and best practices. It was a really good session: well attended with plenty of participation. As promised during the session, I’m posting the notes to this blog even though they may... Read more →

December 02, 2011

What a great week! The highlight – and that’s from a lot of great moments – was probably the AutoCAD + Kinect session: the demos were clearly fun to do, but there was a high degree of audience participation and we all laughed a lot. For those who weren’t able... Read more →