AutoCAD
-
First we saw some simple code to create a pretty multi-line text object, then we saw some code to place it using a "drag jig", now we're going to launch AutoCAD's In-Place Editor (IPE) for MText once the object has been placed. To do this we're going to make use of the InplaceTextEditor object added […]
-
In the last post we created a simple MText object containing sections of text with different colours. The object was located at a hard-coded location, so now we want to use a simple technique to allow placement of our MText (or any object, for that matter) in the current user coordinate system. Rather than implementing […]
-
Some weeks ago we received this question via ADN support: My string contains several sentences and I need to make 2 of these sentences Red. I know that I could use a separate Mtext for the red portion; however, I was wondering if there was a way to programatically do this using just one Mtext? […]
-
After seeing Shaan list the results of the latest AUGI wishlist, I started thinking about which of the items would be worth covering either on this blog or via a Plugin of the Month. The second item on the list, "Automatically Differentiate Manually Edited Dimensions", has (hopefully) been addressed by Dimension Patrol, this month's Plugin […]
-
Thanks again to Stephen Preston, our DevTech Americas Manager, for developing this very useful little utility. You can find an earlier version of this code – which I'd converted to C# and extended to cover text entities – in this previous post. June's Plugin of the Month is now live: Dimension Patrol for AutoCAD. This […]
-
As mentioned in this previous post, the following API wishlist surveys are currently live: AutoCAD® AutoCAD® Civil 3D® AutoCAD® Map 3D® Revit® Autodesk Inventor® Autodesk Navisworks® We've had around 500 responses across the various surveys, but to give a few more people the chance to respond, we've extended the deadline until June 11th, 2010. To […]
-
While on my way to San Francisco, last weekend, I had a 7-hour layover in Washington D.C. Given the amount of time available to me I decided to head from Dulles into the centre of the city and do something fun: I ended up choosing to visit the Natural History Museum at The Smithsonian, which […]
-
I've submitted three sessions for this year's Autodesk University: Getting to know AutoCAD's Plugins of the Month (a 60-minute virtual class, session ID 1681) Synopsis: The Autodesk Developer Network (ADN) team has been publishing "Plugins of the Month" on Autodesk Labs for over a year. Each of these plugins extends an Autodesk products in a […]
-
I received this question by email over the weekend: How does the Editor-Method GetSelection works with Keywords. I can't get it to work and there are no information found in the internet (nothing in your blog, nothing in forums). Here's some C# code that does just this: using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.EditorInput; using Autodesk.AutoCAD.Runtime; namespace […]
-
I didn't realise when I created the last post (with code borrowed from Fenton) that this would become a multi-part series – otherwise I'd clearly have called the earlier post "Part 1". 🙂 A comment from Harold Comerro requested information on getting more from the DST than was previously shown. Today's post extends the previous […]