AutoCAD .NET
-
After a completely ridiculous wait of close to 4 months, I finally received my Kinect a few weeks ago. Apart from it being the fastest selling consumer electronics device in history, the delay was also due to the fact I was holding out for the very popular Xbox 360 250Gb Slim bundle (and also because […]
-
This question came in a few weeks ago, which I thought worth addressing: Hi, Kean! I have a question - how can we create hatch during jig? The code in this post endeavours to do just that, but – be warned – isn't fully successful. The problem I chose to interpret this as is "how […]
-
We've been looking a lot at transient graphics, recently. The standard approach we've been using to displaying graphics in all viewports has been to pass in an empty IntegerCollection into the various transient graphics-related methods, rather than listing the viewports specifically in which we want to display the graphics. Thorsten Meinecke made the very valid […]
-
Since starting to use the transient graphics API in AutoCAD 2009, I've believed that any DBPoints you display would not respect PDMODE (the AutoCAD system variable allowing the user to control how points are displayed). A recent internal discussion was on this very subject, and one of our engineering team, Longchao Jiang, interjected with a […]
-
Thanks for Balaji Ramamoorthy – who recently joined our team in India – and Adam Nagy for helping generate the code for this post. There are lots of reasons people might want to tessellate a 3D solid in AutoCAD to generate a mesh. The code in today's post uses the Boundary Representation (Brep) API in […]
-
As you may have seen – including over at Shaan's blog – the 2012 family of our products has now been announced. Stephen Preston, our DevTech Americas Manager, has recorded a DevTV session on the new APIs in AutoCAD 2012. This material was presented during our recent Developer Days tour, attended by ADN members around […]
-
As promised, I ended up burning more that a few hours this evening (after being up very early for meetings this morning), to add orthographic drawing support to the code shown in the last post. It took quite some work, switching between UCS and WCS until my head was more than a little twisted. This […]
-
A big thanks to Norman Yuan for the technique shown in this post. I stumbled across Norman's post on this topic, and decided to take his code and rework it for posting here, with Norman's permission, of course. Very interesting stuff! 🙂 First things first: you probably don't have a burning need to reinvent either […]
-
I'm in Las Vegas, running between meetings, presentations and performance reviews, so just a quick post, today (it's just before midnight here, but already Monday morning in Europe). I promised in the last post and the one before that I'd extend the code we've been looking at to enable drag & drop of raster images […]
-
As a follow up to the last post, here's the update that places the dropped content at the cursor location. I've been busy in meetings for most of the week, so I haven't yet had time to integrate the jig for sizing. Thanks for Mike Schumacher for pointing me at Editor.PointToWorld() (I'm not sure how […]