If you are developing AutoCAD plugins, you may need to build different versions of your project for different AutoCAD versions. In this blog post, we will explore how to design a csproj file that allows building different versions of an AutoCAD plugin for different AutoCAD versions from one csproj file (or vbproj file, respectively).
Continue readingTag Archives: .NET
Version 1.0.0 of Linq2Acad released on NuGet!
I’m very happy to announce that Version 1.0.0 of Linq2Acad is now available on NuGet! Many thanks to all contributers and users of Linq2Acad. If you have bug reports or feature requests, don’t hesitate to get in touch on GitHub.
LINQ and the AutoCAD .NET API (Final part)
Welcome to the final part of LINQ and the AutoCAD .NET API. In this post I want to briefly summarize the blog series. Continue reading
LINQ and the AutoCAD .NET API (Part 10)
This is the tenth in a series of posts on LINQ an the AutoCAD .NET API. Here’s a complete list of posts in this series.
Welcome to part 10 of our series on LINQ and the AutoCAD .NET API. Today we want to look at some performace improvements that we can make. Continue reading
LINQ and the AutoCAD .NET API (Part 9)
This is the ninth in a series of posts on LINQ an the AutoCAD .NET API. Here’s a complete list of posts in this series.
This is part 9 of LINQ and the AutoCAD .NET API. Today we want to do some refactoring to get a nicer API.
At the moment our main entry point to our API is the GeneralHelper class. GeneralHelper is not really a good name for an API class. The purpose of the GeneralHelper class is to provide access to the database of the current document, so maybe something like Database would be a better name. Continue reading
LINQ and the AutoCAD .NET API (Part 8)
This is the eighth in a series of posts on LINQ an the AutoCAD .NET API. Here’s a complete list of posts in this series.
This is part 8 in our series. Today we want to apply the changes that we made to tables of type SymbolTable to containers of type DBDictionary. Continue reading
LINQ and the AutoCAD .NET API (Part 7)
This is the seventh in a series of posts on LINQ an the AutoCAD .NET API. Here’s a complete list of posts in this series.
Welcome to part 7 of LINQ and the AutoCAD .NET API. It’s been a while since my last post. From now on I try to write new posts on this series every two weeks, but don’t pin me down on this…^^
In the last post we extended the GeneralHelper class to support write operations. In today’s post we have a look on how we can add a convenient way to create new AutoCAD objects and add them to the database. And be prepared, there’s a lot of code in this post. Continue reading
LINQ and the AutoCAD .NET API (Part 6)
This is the sixth in a series of posts on LINQ an the AutoCAD .NET API. Here’s a complete list of posts in this series.
This is part 6 of our series on LINQ and the AutoCAD .NET API. Currently the GeneralHelper class only support read operations. If we perform a write operation on one of the objects we pulled out of the database, we get an exception. In this blog post we want to correct this behaviour. Continue reading
LINQ and the AutoCAD .NET API (Part 5)
This is the fifth in a series of posts on LINQ an the AutoCAD .NET API. Here’s a complete list of posts in this series.
In today’s post we want to have a look at some further objects that easily can be made queryable. The model space is probably the first of such objects that comes to mind. So what’s the standard way to access the model space? Continue reading
LINQ and the AutoCAD .NET API (Part 4)
This is the fourth in a series of posts on LINQ an the AutoCAD .NET API. Here’s a complete list of posts in this series.
In part three of our series on LINQ and AutoCAD we created a neat way to access all tables of the drawing database. In this post we’ll have a look at how to add AutoCAD dictionaries to our GeneralHelper class. Continue reading