AutoCAD
-
A comment came in on this previous post regarding how best to know whether a media name is valid during your plot configuration. There are a few approaches, other than the one I chose of hardcoding the device and media names. The first is to implement a user interface of some kind which allows the […]
-
This was a fun one to work on. The code in this post combines and extends upon techniques shown in two earlier posts: one showing how to plot multiple sheets and the other showing how to preview a single-sheet plot. One of the key differences when plotting or previewing is that while plotting can directly […]
-
As mentioned in this previous post, tomorrow we're delivering a fun (and free!) AutoCAD development-oriented webcast entitled "AutoCAD: 10 easy ways to crash your AutoCAD addin". In case it's not obvious, the point is to highlight issues to avoid in your code, rather than showing you how to introduce critical bugs. 🙂 Check here for […]
-
This week's posts take the code I threw together last week for single-sheet and multi-sheet plotting, and introduces the concept of "plot preview". I'm learning as I go for much of this, so there are structural (although usually not functional) changes being made to the code as it develops. In this instance, for example, I've […]
-
Somewhat symmetrically I'm posting this from Chicago airport, once again, but thankfully I'm now on my way home. It was a busy week of meetings, but I did get the chance to put together some code that extended the last post into the realm of multi-sheet plot jobs. The following code took some work, but […]
-
I just missed my connecting flight in Chicago, so have 3 hours to pass until the next, and decided to post some code I finally got around to writing on the plane from Zurich. I've had a few requests for code showing how to plot using the .NET API in AutoCAD. There's an existing ObjectARX […]
-
I'm now back from a fantastic break in Italy and am trying hard to catch back up. Next week I'm off again to San Diego (work, this time), which may cause further interruptions in blog postings. This question came through from Genésio from Brazil: I wish jig a leader with an bubble in the and […]
-
This question was asked as comment to a previous post by har!s: Thanks a lot for the code. I have yet to see 2008 and MultiLeader. But I presume that it works on both Model and paper spaces. In that case, what is the best method to make the operation space independent? i.e., it should […]
-
Just a quick post today regarding an AU Unplugged! topic I've submitted. The proposed session is called "Developing applications for AutoCAD: best practices for using AutoCAD's APIs." Here's the description I gave for the topic: "Come along to share and learn best practices for customizing/developing with AutoCAD: discuss your choice of API technology and how […]
-
Some more fun with multileaders... this post shows some code that adds multiple leader lines to a multileader/MLeader, each of them "spraying" out from the central text. We ask the user for the central point and the location of the first leader along with the number of leader lines to "spray". These lines then get […]