This is Stephen Preston's Typepad Profile.
Join Typepad and start following Stephen Preston's activity
Join Now!
Already a member? Sign In
Stephen Preston
California, USA
Global Manager, Developer Technical Services, Autodesk
Recent Activity
Image
By Madhukar Moogala Alert: 32-bit version is no longer available. Overview AutoCAD 2020 provides a set of enhancements based on customer feedback, surveys, and analytic data that prioritize our efforts. Several features are the result of the need to modernize and streamline frequently used features across many customer disciplines. New... Continue reading
Posted Apr 1, 2019 at AutoCAD DevBlog
By Madhukar Moogala This post shows a simple way of drafting your selection filter, if you want to select a single entity of type A on specific layer L, and another entity of type B on several layers L1, L2, L3…. so on. Lisp Code: (defun C:FCTest() (setq sel1 (ssget... Continue reading
Posted Mar 28, 2019 at AutoCAD DevBlog
By Madhukar Moogala Unfortunately there is no direct API to detect geometric center for three classifications of polylines, one may use Topology libraries to find out, or preferably the easiest at least for me is to convert the LWPOLYLINE, AcDb2dPolyline,AcDb3dPolyline to an in-memory region, apply area properties API to fetch... Continue reading
Posted Mar 27, 2019 at AutoCAD DevBlog
Image
By Madhukar Moogala I have received a query from an OEM developer, in his Survey product Ortho snapping functionality doesn’t work in +Z/-Z direction. Here is screen GIF. AutoCAD, AutoCAD OEM, AutoCAD LT and TrueView are different manifestations of same code base, this has been singlehandedly maintained by our beloved... Continue reading
Posted Mar 27, 2019 at AutoCAD DevBlog
By Madhukar Moogala When user edit external reference in place, there is no way to get to know if user had saved the changes or discarded. If your application would like to capture the user intent, for example. if (e.GlobalCommandName == /*MSG0*/"REFCLOSE") { if (save){ //logic 1 } if(discard){ //logic... Continue reading
Posted Feb 21, 2019 at AutoCAD DevBlog
By Madhukar Moogala An example of handling some common operations for certain types of entities. This does not attempt to be a full-featured entity in the sense that it fills out every single function that it is supposed to. Its main purpose is to illustrate how to deal with pointing... Continue reading
Posted Feb 15, 2019 at AutoCAD DevBlog
By Madhukar Moogala We have recieved considerable amount of requests from developers to have a managed wrapper on classic HLR API, that comes with ObjectARX SDK of AutoCAD This sample was originally written by Cyrille, recently I managed to fix few issues with progress callback and migrated to latest AutoCAD... Continue reading
Posted Feb 1, 2019 at AutoCAD DevBlog
Join us for our special series of webinars where we’ll be going over some of the topics covered last year's DevCon events in detail (see full list below). These webinars are a great opportunity for you to learn about Autodesk Forge and, of course, where Autodesk is taking the desktop... Continue reading
Posted Jan 25, 2019 at AutoCAD DevBlog
By Madhukar Moogala CenterLine and CenterMark are two new entities based on AcDbBlockReferenes introduced in AutoCAD 2017, they are basically unnamed blockreference catering different purpose. For more information on these two entities – CenterLine & CenterMark In this post we will look at how to identifying if the underlying entities... Continue reading
Posted Sep 10, 2018 at AutoCAD DevBlog
By Madhukar Moogala This post contains a video demonstration using Wix toolset to create RealDWG installer. Though video targets to RealDWG 2019 using Visual Studio 2017 and Wix Toolset 3.11, the presentation is suitable for all previous versions with minor tweaks about release version numbers. Source of project is hosted... Continue reading
Posted Aug 3, 2018 at AutoCAD DevBlog
By Madhukar Moogala This is small batch script may be useful for OEM Developers. Once you have created your project, you can run the AutoCAD OEM Make Wizard from the command line to automate building your product. In this mode, you can use any of the build options available on... Continue reading
Posted May 2, 2018 at AutoCAD DevBlog
By Madhukar Moogala I have recieved this query, user would like to get appearance of LineTypeRecord or LineTypes through API. We can use Comments API to gets the Linetype appearance in the form of ascii string. Code: public static void LineTypeAppearance() { Database database = HostApplicationServices.WorkingDatabase; var ed = AcCore.Application.DocumentManager.MdiActiveDocument.Editor;... Continue reading
Posted Apr 27, 2018 at AutoCAD DevBlog
Are you ready to learn about the new technologies that will become available on the Forge platform? Then you should not miss these webinars :) Date : 26th April 2018 Time : 8.00 AM PST Duration : 90 minutes Title : The Future of Making Things on Forge: Sneak Peek... Continue reading
Posted Apr 17, 2018 at AutoCAD DevBlog
By Madhukar Moogala In RealDWG dumpDWG sample project [RealDWG 2018\Samples\DumpDWG], dumpAcDbSubDMesh implementation is missing, I received a query from a ADN partner, so for the benefit of every one I blogging this. Context: If input drawing to your RealDWG app contains Mesh elements, and you would like to view this... Continue reading
Posted Apr 12, 2018 at AutoCAD DevBlog
By Madhukar Moogala I received a query from one of our Technical Sales Specialist whose customer would like to automate a design workflow using Forge Design Automation one aspect of work flow is to explode Text objects in to Geometry [polylines and arcs]. We have an existing express tool called... Continue reading
Posted Apr 12, 2018 at AutoCAD DevBlog
By Madhukar Moogala This is a small post which will be useful by App publishers, in case if user is not logged, app developers can display Autodesk Sign In Dialog. bool bIsUserLoggedIn = true; #define CONNECTTOWEB _T("CONNECTWEBSERVICES") void onlineUI() { //if user isn't logged, onlineuserid will be empty struct resbuf... Continue reading
Posted Apr 10, 2018 at AutoCAD DevBlog