Selection
-
Here's an interesting question that came in from Nick Gilbert via a blog comment: Is there a simple way to get the geometric extents of the group? As discussed in this previous post, the Group object in AutoCAD presents itself as a collection of geometric objects (or entities, in ObjectARX-parlance). But a Group, in itself, […]
-
Today's post resulted from an internal discussion: Miroslav Schonauer โ with the help of Jan Liska โ put together some code for a recent consulting engagement that they felt was important to share with the community. They wanted to test point containment for a particular 3D solid, but also to test whether the selected point […]
-
I have to say that I'm having an absolute blast getting to know the new API features in AutoCAD 2015. It turns out I'd barely scratched the surface with my original post about the impact for developers. It's a release that just keeps on giving. ๐ One new feature that I've had a lot of fun […]
-
To follow on from yesterday's post, today we're going to look at an alternative implementation that โ rather than modifying the Edit shortcut menu that appears for all object types โ adds our custom menu item to the shortcut menu associated with a specific type of object. In our case we want to associate the […]
-
A big thanks to Parrish Husband for both suggesting this topic and providing the majority of the code in this post. Parrish had been attempting to extend the technique shown in this aging post to include an icon with the content menu item. At least one person had done this before, according to the blog […]
-
A colleague in our Product Support team came to my desk yesterday afternoon with a problem he thought I might find interesting. He was right. ๐ It turns out that AutoCAD tables containing Unicode characters don't export very well to CSV files (for later import into Excel, for instance). Here's a sample table with a […]
-
I wasn't planning on covering this particular topic today, but then this comment came in overnight and I ended up taking a look into it. Paul has been trying to append a specific cell range to his connection string when creating a data-link for an Excel spreadsheet, adding to the code from this previous post. […]
-
I wasn't expecting to write a third part in this series of posts, but then Samir Bittar went and asked a follow-up question that I felt obliged to look into. Thanks for the suggestion, Samir! ๐ Samir basically wanted to provide the user with more feedback as they're selecting the nested entity โ so that […]
-
As I started on my linear algebra class, some weeks ago, I decided to dust off the Transformer app I'd written a few years ago and make sure it works in AutoCAD 2014. It actually really helped me in creating appropriate transformation matrices for certain parts of the course. Coincidentally, a few days ago, I […]
-
Last week I received the following question from Adam Schilling: I have enjoyed your posts on .net programming for datalinks. I have searched high and low and haven't been able to find answers or any support to help me with a small issue. My code (much of which was based off of your posts from […]