AutoCAD

  • This is a really cool little sample put together by Philippe Leefsma, from our DevTech team in Europe, with the help of George Varghese from the AutoCAD Engineering team. Thanks, Philippe and George! ๐Ÿ™‚ This question came up, recently: an ADN member wanted to be able to add an editable textbox to the ribbon inside AutoCAD and then be notified of the data entered into it, as well as being notified when the control gained and lost focus. Here's some simple C# code that does just this: using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.EditorInput; using Autodesk.AutoCAD.Runtime; using Autodesk.Windows; using System.Windows.Controls; using System.Windows.Input; using…

  • All last week we focused on Autodesk Exchange, looking at the steps needed for preparing, submitting and re-submitting your app for inclusion on the Apps tab. I won't dwell too much more on the topic, but did just want to give some quick, high-level tips for people thinking about posting apps for inclusion on Autodesk Exchange. (My thanks to Stephen Preston โ€“ who has been intimately involved in the Apps tab since its inception โ€“ for helping brainstorm some of these items.) 1. Focus on software quality We do test the applications submitted to us before posting them on Autodesk…

  • After posting this week on how to prepare and submit your AutoCAD application for inclusion on Autodesk Exchange, today's post is about another important topic: how to handle rejection. The initial elation of posting my app had almost worn off by the time I received this somewhat disheartening email in my inbox: Don't feel too sad for me, though: I asked Viru โ€“ our DevTech India manager, who is also heavily involved in testing apps for the Autodesk Exchange โ€“ to reject my application submission, so I could then step you through the process for dealing with this situation (which…

  • In the last post, we saw the steps involved in preparing an AutoCAD application for posting to the Autodesk Exchange store. In this post, we'll step through the submission process. Let's start with some basics: posting to Autodesk Exchange currently happens from within the AutoCAD product, which means you'll need AutoCAD 2012 installed (and running) to submit your product. Step 1 โ€“ sign into (or up for and then into) Autodesk Exchange. Within AutoCAD 2012, sign in to Autodesk Exchange. If you're not already in possession of an Autodesk ID, click on the link to create one. If you have…

  • Back when we were first creating the Exchange Store, I went through the process of preparing several of our Plugins of the Month for posting to Autodesk Exchange. After a break of several months, I've now gone back and readied September's plugin (TransTips, now on Autodesk Labs) for posting, also. It seemed to make sense to spend a couple of posts documenting the process I followed โ€“ which should complement the DevTV sessions already posted on the Autodesk Exchange Apps Developer Center: Autodesk Exchange Apps User Experience Autoloader Format Explained Creating a Partial CUI This initial post focuses on preparing…

  • Regular readers of this blog may have followed the development of this plugin, but I've written this post is to announce its availability more officially (in addition to Scott's post from last week). TransTips uses the Bing Translator web service to translate tooltips into one of 36 languages on-the-fly, as they are displayed by AutoCAD, Inventor, Revit, 3ds Max and the products based upon them. The 36 languages are those currently supported by the Bing Translator service: Arabic, Bulgarian, Catalan, Chinese, Czech, Danish, Dutch, Estonian, Finnish, French, German, Greek, Haitian Creole, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Latvian, Lithuanian, Norwegian,…

  • Starting next week โ€“ and for 8 weeks โ€“ Wayne Brill, from DevTech Americas, will be delivering free online AutoCAD .NET training. To register โ€“ yes, for free โ€“ go to our API Training page and select "Schedule", then scroll down to "AutoCAD .NET", "English", "Webcast", "Sep 08 2011" and click "Register" at the far right of the item. This training is a live-delivered version of Wayne's excellent series of DevTV sessions posted previously (with transcripts). This is likely to appeal to those of you who like knowing there's a warm body at the other end of their webcast link…

  • Ever been frustrated when scrolling up in the AutoCAD text window, only to find information from earlier in that session had disappeared? I find this when listing AutoCAD commands and system variables, in particular. The standard command-line history is 400 lines, as far as I can tell, but the good news is that there's a Registry setting allowing you to increase this amount. [Thanks to various people in AutoCAD Engineering for tracking down this information (including Asheem Mamoowala, Karen Mason and Randy Kintzley).] In AutoCAD R14, we had a Registry setting in the current profile exposed via an option in…

  • In the 2010 release, we introduced 2D geometric constraints to AutoCAD. The feature was implemented using AutoCAD's low-level โ€“ and very powerful โ€“ Associative Framework, which has subsequently been used to implement features such as parametric surfaces in AutoCAD 2011 (more information on that here). Our initial API implementation for creating and accessing geometric constraints (which you can find out more about via the DevTV session linked to from this previous post) in many ways reflects the low-level nature of the underlying framework: it was unfortunately just a bit too complicated for most mortals to get to grips with. Philippe…

  • Actually, I wish that were true. I'm planning on taking some time off in October, but that seems a long way off, at this stage. What I've actually been doing is working with some REST-based APIs: firstly, I've been finishing up work on September's Plugin of the Month, TransTips for AutoCAD, Revit, Inventor, & 3ds Max (to be posted on Autodesk Labs in the next few days). TransTips makes use of the REST API for Bing Translator, to automatically translate tooltips in various products. Secondly, perhaps more excitingly, I've been coding against a possible future web service API for Project Photofly.…