Questions tagged [autocad]

Drafting and design software.

AutoCAD is produced by Autodesk Inc. It is a base product for many of their software offerings that are designed for specific tasks such as architectural, mechanical and civil drafting. AutoCAD is customizable by means of several APIs.

  • Autolisp - A flavor of LISP.
  • VBA - Microsoft VBA became available as an API during the release of AutoCAD 14 prior to 2000. Autodesk has warned that VBA will not be supported in releases after 2012... but it is, even in native 64-bit for the 1st time in v2014.
  • Managed .NET - A managed .NET API is currently the customization platform of choice for many AutoCAD programmers. Of the .NET languages C# is currently the most popular but VB.NET has a stronger-than-usual following because of AutoCAD's VBA history.
  • the JavaScript API was introduced in v2014.
  • ObjectARX/ObjectDBX - A native C++ based API that became available during the release of AutoCAD 13. Less popular than the .NET API because it requires writing much more code and more complex code to accomplish most tasks. Some types of projects (complex custom objects) can only be done via this API.

Autodesk also licenses two stand-alone AutoCAD environments to develop on top of, RealDWG and AutoCAD OEM. OEM has a user interface and RealDWG does not. The licensing model for each is very different - OEM is licensed as a percentage of each sale, RealDWG has fixed license costs.

There is an independent reverse-engineered library that is compatible with AutoCAD made by the Open Design Alliance. Compatibility can lag a little when Autodesk does its 3-yearly binary shuffle and changes the file format. AutoCAD v 2013 changed the application's internal structure, as well as the file format.

The ODA is not open-source nor is it free (as in beer but it is free as in speech) and is not necessarily cheaper than Autodesk's licensing, depending on if / how many sales you make. ODA's Teigha is used as the basis for products like IntelliCAD etc. You can build stand-alone applications on it.

Resources

1395 questions
-1
votes
2 answers

Autocad .Net API entities constructors, drawing like in AutoLisp

I want to draw lines, circles, arcs and other standard entities in c# like in AutoLisp. E.g. in AutoLisp you can draw circles via 3 points on its circumference. But in .Net API there is only constructor via center and radius. So if I have 3 point on…
Evg
  • 98
  • 2
  • 7
-1
votes
3 answers

Save high quality images from Autocad

my problem is that I don´t have much experience with Autocad. Thus I don´t know how to save a project in a good quality image (png?) to insert in a latex document. Could you give me a hint? Thank you
-1
votes
1 answer

Create equipment in Autocad Plant 3d

I want to create equipment from predefined shape in autocad plant 3d. I retrieve shape and related parameters from attached Code. using (EquipmentHelper eqHelper = new EquipmentHelper()) { …
Reza
  • 11
  • 3
-1
votes
1 answer

Horizontal text in radius annotation. [Autocad]

I have two files open. One uses horizontal text in radius annotation (see the first picture). The second uses a straight line in radius annotation (see the second picture). I cannot find any difference in the settings of the two files. How do I get…
Marcel
  • 1,034
  • 1
  • 17
  • 35
-1
votes
1 answer

Use set of stored array to fetch data through sql query

Developing environment is VBA (AutoCAD) I have Set of values stored in that array function BomLine(iCountItem).PartNo which I want to further use it fetch data into Excel through a specific SQL query. Function gets its value from an AutoCAD drawing…
-1
votes
2 answers

Create 3D solid from coordinates (for 3D printing)

I have got a list of 3D coordinates (x,y,z) and i need to create a .stl file for 3D printer. Is there any software for this kind of work?
Daniele
  • 13
  • 5
-1
votes
2 answers

Issue regarding overlapping features in Auto Cad

In AutoCAD 3D 2010 is there any command which allows user to point out overlapping features. eg. if my text is overlapping with a line or polyline how will I point it out. PS: I know about the OVERKILL command which allows users to delete…
-1
votes
1 answer

Collect Entities in autoCAD drawing and change the colors

The code i tried line collection under entity collectionI want to change the colors / layers of different linetypes (continuous / dashed/ center) in autocad drawing using VBA. I tried to collect all the entities and filter them! but no success!
Divyanshu
  • 89
  • 9
-1
votes
1 answer

How to display Autocad DXF on WPF Canvas?

I am whole new in Autocad using in .NET application. I am working on WPF application that need to import, export and view 2d DXF or DWG file on canvas. I need some general information about how to achieve my goal if possible step by step…
Edmon
  • 108
  • 2
  • 5
-1
votes
1 answer

Software development for AutoCAD 2012

I am new to AutoCAD programming. I need to build software to automate some task for AutoCAD 2012. But I am confused with the following:- Should I start to develop a plugin for AutoCAD or should I develop a standalone software? ObjectARX SDK is…
Vishal Goyal
  • 193
  • 14
-1
votes
1 answer

What to do with a corrupted DWG file?

I work in AutoCAD 2002. The main file of the drawing when opening AutoCAD gives out "It wasn't succeeded to open this drawing. It contains the incorrect or damaged data". Tried to apply the command to "restore" did not help. Writes that found 3…
-1
votes
2 answers

How can I develop a standalone application to insert AutoCAD blocks in 2d/3d environment

I have developed lots of autocad plugins upto now but now the client wants to develop a stand alone application to insert 2d/3d autocad blocks and there will sure be some commands to edit or draw. How can I do that, where should I begin, what…
Rusel
  • 11
  • 2
-1
votes
1 answer

Could asp.net unite autocad and mathcad or matlab system?

Needs that autocad uses value from mathcad or matlab? Could I use for it asp.net?
-1
votes
1 answer

is Autocad and Adobe software written in C++ or in .NET?

My question is if Autocad (Autodesk Autocad 2014) source code mainly written in C++ or in .NET. The same for Adobe creative suite. Of course it has some plug in or interface versus many platform, or scripts, etc... but I want to know exactly the…
Yagami Light
  • 129
  • 1
  • 9
-1
votes
1 answer

How to work in autocad from visual studio with windows forms using application.acadApplication?

I need to do some operation in Autocad 2010 from Visual Studio 2008. When I try to access the Autocad from windows forms it doesn't work. Exception are thrown like specified module could not be found. Inside the button Click I wrote the below…
Sivaperuman
  • 239
  • 1
  • 4
  • 21