AutoCAD

  • Gopinath Taget, from DevTech Americas, will be delivering a repeat session of this free webcast on Thursday, August 20. Please go to our API training schedule if you would like to register for the event (from where a recording of the previous event is also available for download (20.3 MB)). Here's a brief synopsis of the webcast: This webcast will show how to integrate your application's user interface into the AutoCAD look and feel. We'll show you how to work with .NET Forms, create your own palettes, issues surrounding .NET UI development on AutoCAD and implement Event handling so your…

  • Thanks to Stephen Preston, who manages our DevTech Americas team, for donating the samples from his upcoming AU class for posting on this blog. Let's start the week with a nice simple sample: the first from Stephen's AU class. Looking back even to the first C# overrule sample I posted here, I can see that most have been quite complex, mainly because they've performed complicated things. Today's code implements a very simple DrawableOverrule which changes the way lines are displayed in AutoCAD: Here's Stephen's C# code, reformatted to fit the blog: using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.GraphicsInterface;  …

  • We've been working on translating several of our DevTV sessions, and our first Portuguese DevTV is now ready for consumption. 🙂 A member of our DevTech Americas team based in São Paulo, Augusto Gonçalves, created this session based on Fenton Webb's original  (which you can get to from this previous post). Augusto translated the slides into Brazilian Portuguese, and provided his own voice-over for these and for Fenton's demonstrations. Augusto tells me that the content should also be understandable for Portuguese speakers from elsewhere (Portugal, for instance :-). DevTV: Introdução à Programação AutoCAD.NET    view   download (172 Mb) A big thank…

  • OK, OK: I know I said I'd talk more about overrules, last week, but – as is often the way, I'm afraid to say – I got distracted. The good news, though, is that I got distracted by something genuinely interesting, and well worth sharing. I've been working on upgrading the WinForms user interface of an existing .NET application to use WPF, the Windows Presentation Foundation. For those wanting a thorough grounding in WPF, I recommend watching Fenton Webb's highly-rated webcast series on WPF, just one of the interesting webcasts that can be downloaded and viewed from our API training…

  • This post is to bring you up-to-date on DevLabs, an initiative I've mentioned a couple of times in recent months. We've so far held two very successful DevLab events in Farnborough and San Francisco. The feedback we've received from attendees has been overwhelming positive, and the people from my team who hosted the events found the experience extremely rewarding. So yes, full speed ahead with the remaining, scheduled DevLabs events in China and India: Beijing, China August 17-21, AutoCAD and Autodesk Inventor APIs August 24-28, Geospatial and Revit APIs Bangalore, India September 8–11, Geospatial and Revit APIs September 14-17, AutoCAD…

  • This week I will mostly be posting about Overrules. [For those of you who haven't seen The Fast Show (called Brilliant in the US), this is an obscure reference to a character named Jesse. :-)] Aside from this post, Stephen Preston has sent me the samples he's put together for his AU class on this topic, so expect some serious plagiarism (although now that I've given him credit I suppose it's not really plagiarism :-). Here's a question I received recently by email: Is there some posibility to write something in some of your next blogs about how to get…

  • Well, pretty much as soon as I mention it, I get informed of its availability: http://www.autodesk.com/autocad-net-developers-guide Enjoy! 🙂

  • In case some of you out there haven't yet completed one or more of this year's API Wishlist Surveys (and thanks to all of you who have – we have already gone way past the number of responses for previous years) I thought I'd post a gentle reminder and hopefully motivate a few more people to contribute by describing how they've helped influence our API development process. So first for the reminder: the deadline is currently at the end of this week, on July 31st, 2009. As mentioned, the response rate this year has been very strong, so we may…

  • One of the responses to my last post on the "Plugin of the Month" asked about showing information on an AutoCAD drawing object via a tooltip. Other than using the standard rollover tooltip properties mechanism, as shown in this previous post, the best way to achieve this is via a PointMonitor. In the below C# code we check which object ore objects are being hovered over, get information about those objects and add them to the tooltip. using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD.EditorInput; using Autodesk.AutoCAD.Geometry;   public class PointMonitorTooltips {   [CommandMethod("SM")]   public static void StartMonitor()  …

  • In this recent post we looked at adding custom editing capabilities for dynamic properties we've added via .NET. In the first example we looked at a "distance" property which provided a button allowing the user to select two points. In this post we'll look at implementing a masked string property, such as one you would use for a password. I won't repeat too much of the background information from the last post in this series: you should refer to that to understand the fundamentals (the fact that we're basing this implementation on Cyrille Fauvel's OPM .NET sample, that we're not…