AutoCAD .NET
-
In the last post we saw a simple command that connects a block with a curve via a line that starts at the insertion point and meets the curve at its closest point. In this post we're going to see how we can search the modelspace for the nearest curve and connect each block to […]
-
A question came into the LISP forum during Wednesday's Answer Day. It related to a really interesting task: to take certain blocks in a drawing and connect them to the closest polyline via a perpendicular line. It took me a little while to understand, but basically the problem relates to pipeline design: there are gully […]
-
As mentioned, last week, I'm going to be hanging out in the AutoCAD .NET forum for the next few hours. I'll try to do a little live blogging here… so check back often. And remember to join me in the Google Hangout! 15:10 CEST / 6:10 PDT Sitting here with at Autodesk Neuchatel with […]
-
One year ago Autodesk held our first ever Answer Day for people to get answers regarding the use of AutoCAD (and its APIs). While I didn't participate in the original event, myself, I was pleased to see a new approach being tried for connecting users of our products with the people who create them. You […]
-
I decided to dust off Visual Studio and write a quick AutoCAD app, this morning. It tackles a question received via a blog comment from Pankaj Potdar, over the weekend. I have two blocks with different attributes I want to merge them in single block, and I don't want to create any nested blocks. I […]
-
The AutoCAD team is running their annual survey to better understand developers' needs relating to documentation. Access the survey here before the end of May. Lee Ambrosius provides more information over on his blog, including some interesting data-points from last year's survey as well as areas of the documentation that were influenced by it.
-
Yesterday Autodesk announced the availability of AutoCAD 2017, code-named "Nautilus". We use consecutive letters in the alphabet for AutoCAD code names, and as 2016 was "Maestro" it's natural that 2017 would begin with an N. For those of you who're wondering, the code name is indeed a reference to the graphics used for the AutoCAD […]
-
After seeing a basic approach to sort arrays of ObjectIds using LINQ – and then refactoring that to be a shared extension method to be used on arrays of ObjectIds – today we're going to see that code refactored, once again, to work with types of data other than strings (up until now we could […]
-
In the last post we took a look at one technique to sort a list of ObjectIds by the associated objects' layer and type. In this post we're going to refactor the commonality to have a single extension method that allows us to sort a list of ObjectIds based on any string property. Here's the […]
-
I received this interesting question by email from Henrik Ericson, last week. Is it possible to sort the selected objects (only 3dFaces in my case) in a SelectionSet by their layers? I want to process all the objects, one layer at a time. In other words, first all objects on layer A, and then all […]