Programmatically change dimensions from .NET
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am working on a C# application to automate our drawing process.
One of the requirements is that we need to be able to programmatically change dimensions in a existing drawing.
For example we have a drawing with a simple rectangle with two dimensions for the width and the height. From within a C# application I want to be able to open the drawing and then change the dimensions with the ones that are inputted by the user in the C# application.
I searched on different forums for answers to accomplish this, but can’t get any good examples for this? Also I am wondering how I can distinguish the different dimensions in a drawing, I don’t want to ask the user to point out what the width-dimension is and what the height-dimension is in the drawing. Most of the drawings have also more dimensions, and we want to automate this as much as possible. Is it possible to name dimensions, and refer from code to them?
We are using Autocad 2014, and most of our drawings are simple 2D drawings.
Any help would be greatly appreciated.
Marcel