AutoCAD .NET
-
After seeing how we can use Cylon.js to control Sphero's Ollie and BB-8 robots from a browser, and then using the same mechanism from inside a custom AutoCAD command, today we're going to drive these cute little bots based on AutoCAD geometry. The idea is that we'll decompose regular curves – whether lines, arcs, polylines […]
-
After looking at how to control robots using Cylon.js in the last post, in this post we're going to get that working inside AutoCAD. For now with just a command that allows us to move the robots – in a future post we'll analyse geometry and use that to specify the movements. The "controller" code […]
-
This came up during an internal discussion and I thought it worth sharing here. It's easy enough to use a point monitor in AutoCAD to determine the current cursor location, but how do we make sure it's in the current User Coordinate System (UCS) and that we adjust for object snapping (osnap)? To keep the […]
-
Some of you may remember this series of posts from the beginning of the year (I also mentioned it in the last post). It showed how you might use AutoCAD and .NET (in this case via F#) to animate the Star Wars opening crawl for the first 6 movies. Back then I said I'd update […]
-
After showing how to automatically attach xrefs at the origin inside AutoCAD, and then redoing the approach to take care of different unit systems, I then had the request from a couple of places to look at making the xrefs overlays and adjusting their paths to be relative rather than absolute. Looking around, I found […]
-
This is actually a redo of last week's post, just with a different title: while the approach shown worked well when creating external references to drawings using the same units, when bringing in (for instance) metric xrefs into an imperial master drawing the scale was all messed up. Thanks to Hans Lammerts for reporting the […]
-
This request from Thomas Longnecker languished in my inbox for several weeks before I finally found the time to work on it. It would be tremendously helpful to me if you could give an explanatory example of how to: Create a new layout, add a page-setup with plot-settings and then either delete the default viewport […]
-
I just received this interesting (and quick to solve) question from Henrik Ericson, this morning: I'm looking for a new xref command (or perhaps overriding the internal xref command) that always insert the selected xref at 0,0,0 coordinates and in World coordinate system. I'm often inserting an xref and 'nothing happens' and then I realize […]
-
In the last post we saw how we could integrate an HTML and JavaScript palette hosting Cytoscape.js into AutoCAD to map progress made in a text adventure. In today's post we take the additional step of converting the graph data into AutoCAD geometry. To be clear, there's a bit more to this post than having […]
-
I mostly despise jetlag but once in a while manage to harness it for something positive. I remember some great trips to Asia, waking up at strange times to experience the dawn, walking the streets and seeing everyday life starting up around me. These days I typically find jetlag to be a bit of a […]