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
By Madhukar Moogala I have received a query from an ADN partner, how to read the scale, rotation angle, insertion point and underlay reference path of NWD model, though API to handle such information is not exposed to ObjectARX, but still not to loose hope we can retrieve the same... Continue reading
Posted Nov 17, 2016 at AutoCAD DevBlog
Image
By Madhukar Moogala We have an inbuilt AutoCAD command CONVTOSOLID, but this command is very limited doesn’t work effectively on Polyfacemesh <AcDbPolyFaceMesh> entities. We will create an in-memory subDMesh <AcDbSubDMesh> object from pfmesh [read as Polyfacemesh], first we will extract vertex and face information from pfmesh and use this information... Continue reading
Posted Nov 16, 2016 at AutoCAD DevBlog
By Madhukar Moogala I have discussed on this in detail on my earlier blog post, I have been receiving similar queries from our ADN partners, so I have recorded a small tutorial to help publishers. Do let me know for any queries. You can download full video in a MP4... Continue reading
Posted Oct 21, 2016 at AutoCAD DevBlog
By Madhukar Moogala It’s been long time since I hit to blogging, I was occupied with some other personal work. I have received few queries on Action Body last week, in the best interest of the community I planned to blog it. How to find out if an object has... Continue reading
Posted Oct 18, 2016 at AutoCAD DevBlog
Image
By Virupaksha Aithal If you’ve been thinking about developing on the Autodesk® Forge Platform, Autodesk’s new cloud platform, or on Autodesk® Fusion 360™—or, if you’re just curious about learning more about these technologies and what they could do to help your business or your career—join us for our upcoming free... Continue reading
Posted Aug 31, 2016 at AutoCAD DevBlog
Image
By Madhukar Moogala AutoCAD 2016 introduced a new class AdApplicationFrame which has exposed a bunch of API to access the application frame. In this blog post we will see how we can create and add our custom menu replacing the existing ‘MENUBAR’. With help of AdApplicationFrame instance we can do... Continue reading
Posted Jun 3, 2016 at AutoCAD DevBlog
Image
By Madhukar Moogala The colour of SUN is calculated algorithmically based on geographic location and date \time of that day. With ObjectARX 2017, we have an API to get color same as that appear on Sun properties palette. The code is self explanatory. The API may come of us, if... Continue reading
Posted Jun 3, 2016 at AutoCAD DevBlog
By Madhukar Moogala In this blog post, we will see how we can create Array objects, the three array parameters deriving from AcDbAssocArrayCommonParameters AcDbAssocArrayPathParameters AcDbAssocArrayPolarParameters AcDbAssocArrayRectangularParameters will be used to provide an interface for manipulating array parameters that are common to Rectangular, Path and Polar Arrays. AcDbAssocArrayActionBody is an associative... Continue reading
Posted May 26, 2016 at AutoCAD DevBlog
Hi Peter, I'm not going to argue with your opinion on the price. Either your business model gives you an ROI from licensing RealDWG or it doesn't. However, this is now a very old article. RealDWG is still alive and well, but we have recently introduced another option - AutoCAD I/O. AutoCAD I/O is AcCoreConsole (think headless AutoCAD) running on a server - to which you can submit batch jobs. AutoCAD I/O has an advantage over RealDWG, because it can also plot. The service is currently in Beta and is therefore free. Eventually, possibly as early as next month, Autodesk will announce a pricing model, which will be usage based so you only pay for what you expect to use. See https://developer.autodesk.com/api/autocadio/ for more info. Cheers, Stephen
By Madhukar Moogala We have been receiving queries on OEM 2017 makewizard, to reach large audience I posting the necessary Visual studio 2015 set up requirements needed for successful build of OEM application. Problem: ‘Next’ button is greyed out in OEM makewizard 2017? Developing Environment for AutoCAD \OEM 2017 is... Continue reading
Posted May 22, 2016 at AutoCAD DevBlog
By Madhukar Moogala We will discuss few workarounds to tackle the problem with the creation of an off-screen View in .NET, For C++ interested user, following comprehensive sample should help. Problem 1: The problem is that the off-screen view that I have to create looks as a "mirror" or "upside... Continue reading
Posted May 20, 2016 at AutoCAD DevBlog
Image
By Madhukar Moogala This problem illustrates how we can insert a solid frustum along the axis of each segment of AcDb3dPolyline, the cone always points in right direction irrespective of view changes. This may be useful in depicting flow direction in line diagrams of thermo-fluid dynamic analysis. The code creates... Continue reading
Posted May 11, 2016 at AutoCAD DevBlog
By Madhukar Moogala The following issue is addressed by this fix: Incorrect scaling and positioning of the projection generated by HLR API. The hotfix can be downloaded from here Link contains following directory structure +---x64 | | N052.10.DID_TFS_129787_AsdkHlrAPI21.dbx.md5 | | N052.10.DID_TFS_129787_AsdkHlrAPI21.dbx.tag | | | +---Binaries | | \---ACAD | |... Continue reading
Posted May 11, 2016 at AutoCAD DevBlog
By Madhukar Moogala I have received a query from an ADN partner that customer code to plot to window doesn’t plot and gives an empty print on certain drawings and same code works well for rest of drawings. The root cause of such weird behaviour is that the code doesn’t... Continue reading
Posted May 5, 2016 at AutoCAD DevBlog
Image
By Madhukar Moogala I have received following query from an ADN partner recently, which seems to be quiet interesting. Question:I want to watch _copyclip and _pasteclip to modify some entities after they have been pasted to another drawing. How do I get a map of the original clipboard objects to... Continue reading
Posted May 4, 2016 at AutoCAD DevBlog
Image
By Madhukar Moogala In addition to previous blog post we saw how we can add a GeoPositionMarker to a drawing with already GeographicMarker enabled. In current blog we will see how we can leverage ObjectARX API to create GeoCoordinate system and place it in the drawing with user defined Latitudes... Continue reading
Posted Apr 19, 2016 at AutoCAD DevBlog
Image
By Madhukar Moogala If you have an existing DXE file on your disk, it is possible to extract data to .csv file, and also retrieve information about the drawing file and external files if any source drawing referring to it. Additionally you can refer to this blog which talks about... Continue reading
Posted Apr 12, 2016 at AutoCAD DevBlog
Image
By Madhukar Moogala We can set all the four settings mentioned under Display Resolution box in Options. Before setting them through API, we will understand what each variable does. VIEWRES: Arc and circle smoothness, this sets the resolution for objects in the viewport. SPLINESEGS: Segments in a polyline curve, this... Continue reading
Posted Apr 8, 2016 at AutoCAD DevBlog
By Madhukar Moogala Q. When I run my app and hit any key at AutoCAD command line, I get a AutoCAD dialog saying: "Unable to find main dictionary. Could not start speller" AutoCAD command line then reports: "Can't find speller module: AcSpellEng.dll" What am I supposed to do in the... Continue reading
Posted Mar 31, 2016 at AutoCAD DevBlog
Image
By Madhukar Moogala The motivation behind bringing this blog is a query from a Forum user. We can add any desired Icon next to our custom command. First, load our custom command to AutoCAD domain. Next create a CUI ribbon command button. Create ribbon button macro with necessary image files... Continue reading
Posted Mar 28, 2016 at AutoCAD DevBlog