AutoCAD
-
A big thanks to Thorsten Meinecke for pointing out the obvious issue with my prior post (the nested entity selection loop which has frustrated me unnecessarily when developing the code for that post and another). Here are the details of the fix: using Editor.GetNestedEntity() along with a PromptNestedEntityOptions object, instead of a direct message string, […]
-
In a recent comment, Adam requested the code from this previous post be modified to work in the same way as another, more recent, post: Is it possible to get a version of this code where the user is prompted to create a selection set of nested objects first, and then being prompted for the […]
-
In preparation for his upcoming AUv session, Philippe Leefsma โ from our DevTech team in Europe โ has recorded a DevTV all about the Associative Surfaces API introduced in AutoCAD 2011. Philippe covers three main topics in this interesting session: The Associative Framework Associative Surfaces Nurbs Surfaces DevTV: AutoCAD 2011 Surfaces API view download (82.3MB) […]
-
Just a quick note to say Glenn Ryan's latest contribution, RefUcsSpy, is now live as August's Plugin of the Month. I posted a preview of the application a few weeks ago, and you can now get the compiled plugin with complete source project from the Plugin of the Month page on Autodesk Labs. Thanks, Glenn! […]
-
I've been looking at (and talking about) point clouds a lot, of late, especially those generated from sets of 2D photos. Today's announcement by Scott Sheppard refers to a new technology on Autodesk Labs that makes it even easier to work with and model using point clouds, Shape Extraction for AutoCAD 2011. I spent some […]
-
AutoCAD's Product Design team are considering the possibility of automatically removing unnamed groups that are either empty or only contain a single item. The question, though, is whether anyone out there is for some reason relying on the existence of such groups, and consequently whether we would therefore be risking breaking applications or customizations should […]
-
During my recent stay in the Bay Area, Stephen suggested I join the San Rafael-based DevTech team to record another ADN DevCast. Our hope was to cut down the length somewhat by focusing on a single topic, but those plans pretty much went out the window as soon as I started talking. :-S ๐ Thanks […]
-
After I'd had such fun working out how to bring point clouds from Microsoft's Photosynth into AutoCAD, I was delighted when the Autodesk Labs team came to me with the suggestion of a comparable โ although ultimately more useful โ integration with the then-soon-to-be-released Project Photofly. The concept was simple: provide AutoCAD users with a […]
-
Here's some simple C# code that asks the user to select an external reference and then detaches it from the current drawing: using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.EditorInput; namespace XrefApplication { public class Commands { [CommandMethod("DX")] static public void DetachXref() { Document doc = Application.DocumentManager.MdiActiveDocument; […]
-
A big thanks to Philippe Leefsma, from the DevTech team in Europe, for providing this handy piece of code in a response to an ADN member. In the last post we saw some code that made use of DBObject.HandOverTo() to maintain identity between an old line and a new one with which we wanted to […]