AutoCAD
-
The ADN team has recently announced their annual API wishlist surveys for both AutoCAD and AutoCAD Civil 3D. Our Engineering teams take the results of these surveys very seriously, and greatly appreciate the time you take to provide us with feedback on both our APIs and their related resources. The Civil 3D survey closes on […]
-
Do you make regular use of AutoCAD Architecture (ACA), AutoCAD MEP (AME) or AutoCAD Mechanical (ACM)? If so, I'd be interested in hearing from you. First, some background. Something I haven't yet talked about on this blog is an additional role I've picked in recent months: I'm now the (software) architect assigned to the three, […]
-
Here's something else that may be of interest to people. As I was working towards the solution shown in the last post โ before Albert told me about the ucsToWorld() function (thanks, Albert ๐ โ I ended up extending the .NET code we saw in the previous post to include a TransformToWcs() method (marshaled by […]
-
I've learned a few things since the last post, where we complemented AutoCAD's new JavaScript API with some additional .NET functionality to work around an issue that existed in the code we'd developed in the previous two posts. Firstly, I found out there's a better way for your jig to display transient graphics than via […]
-
After having some fun writing our first jig inside AutoCAD, last week, and calling it either from an HTML page or an AutoCAD command defined in a .js file, in today's post we're going to see how we can use AutoCAD's .NET API to extend its new JavaScript layer. We're going to take a concrete […]
-
Just to complement yesterday's post showing how to define a simple jig using JavaScript, here's the same code from a separate .js file: var doc = Acad.Application.activedocument; var center = new Acad.Point3d(0, 0, 0); var radius = 0; var trId; function pointToString(pt) { var ret = pt.x.toString() + "," + pt.y.toString() […]
-
After talking about the architecture of our JavaScript API in this recent post โ and mentioning the approach we expect developers to take when creating geometry in one of the comments โ I thought it would be worth spending the time to write my first JavaScript jig in AutoCAD. For those of you who haven't […]
-
I arrived back safely in Switzerland on Saturday night. It was a pretty good trip to the Bay Area, this time: most surprisingly this is the first time ever I've managed to sleep through until 6am (or thereabouts) on every single day of a trip to California. But then I โ like many people โ […]
-
Being here in San Rafael, it seemed like a good opportunity to put pen to paper on the internals of the JavaScript API introduced in AutoCAD 2014. It's a topic I've been meaning to get to for some time, and sitting in the cube next to Albert Szilvasy helps me get information straight from the […]
-
I'm back in San Rafael after a tiring โ but very rewarding โ two days down in Santa Cruz. I've decided to rattle out a quick post โ inspired by this recent comment โ before heading out for dinner, so I hope my brain isn't playing tricks on me when it says the code's good […]