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
1 answer

While copy the entities which contains groups and paste that entities in same drawing original entites group name changed like *A3 etc

Hi Friends, I struggle with following issues. My doubt is while i copy the entities which contains group and paste it in same drawing. Now original entities group names are changed to *A3 or some anonymous name.I am using autocad…
Sivaperuman
  • 239
  • 1
  • 4
  • 21
-1
votes
2 answers

While installing Auto Cad application software facing Error 1606

i am using windows 8 64 bit, while installation autocad software, in the begin of installation the error 1606 occured , what to do to install the autocad in windows 8 64 bit, why this problem is taking place Thanks
-1
votes
1 answer

Test AutoCAD 3D images using selenium or some java library

My application involves 3D and 2D diagrams. I want to test 3D/2D diagrams(comparison,crop/color/isolation of different parts in 3d model) using selenium web driver. If it's not suitable, Can somebody please suggest a best open source tool that would…
-1
votes
1 answer

Display 3D model online

How can a 3D model of a building design file, any format, ifc or collada be displayed online?
i_nomad
  • 795
  • 2
  • 7
  • 9
-2
votes
2 answers

CAD: lines to solid programmatically

How to convert a set of connected lines to a solid in CAD applications? Tool is being used can be AutoCAD, SketchUp, Solidworks, FreeCAD, or any other software you may know that can do this simple task painlessly. Note that the following graphics is…
Developer
  • 8,258
  • 8
  • 49
  • 58
-2
votes
1 answer

How can i open AutoCAD program from my vue.js application?

How can i open AutoCAD program from my vue.js application to draw some shapes and get the path of autocad files i want to draw some shapes and get its dimensions and save these files in my app to reuse these shapes again
-2
votes
2 answers

C# String to Double if all letters are numbers

I have some strings in my selection set. I want to convert those to Double and I need to eliminate which is having any letter as a character(A to Z) or anything not possible to convert as double. the below code is working if the vale is like…
-2
votes
1 answer

How do I find number of Bounded Regions in a CAD drawing?

I have a dxf drawing and I want to find the number of regions which have closed loops. For Example: The below picture has two closed loops. I want to detect that this drawing has 2 closed loops. I am using ezdxf library in Python. If I use the…
user3608646
  • 13
  • 1
  • 8
-2
votes
2 answers

Retrieval of DXF entities from a particular view using ezdxf

I am trying to retrieve entities only from particular view of a DXF file. The VIEWPORT class doesn't help to separate views. Help me to solve this out. Thanks in advance
-2
votes
1 answer

Excel Macro for Sorting Wire sizes from AutoCAD

So what I'm trying to do is I have a wire number report from AutoCAD and I'm taking the wire numbers from the report and transferring them into the wire label printer software for our shop to print. Making the report is easy; Using the printer…
-2
votes
1 answer

Lisp - how to break a 'pair' of lists?

I am getting the following output (a separate pair of two lists) after running a chunk of code: ("a") ("a") How do I combine this pair of lists into one? i.e. I want the following output: ("a" "a") For clarification my code is: (defun c:TEST () …
Kevin Chiha
  • 59
  • 1
  • 8
-2
votes
1 answer

Writing a script

AutoCAD can convert PDF to DWG but only one page at a time. I'm trying to write a script to automate it and let it batch process it. I don't have much experience in shell though and not sure how to do that. Can someone please help me?
-2
votes
2 answers

Calculate the area between two polygons

I got two list of points (x,y of each point). I need to find the area (if any) between the two. I do understand that if no line intersect, it does not mean that there is no are. One can be fully inside the other. I need it for autocad vba Any help?
Robin Cris
  • 11
  • 4
-2
votes
1 answer

How do I use torient command in autocad for mac?

Is there a way to install express tools on a mac Is there any other commands which does the same job as "torient" on a mac
-2
votes
1 answer

Measure area from autocad then send it to website

I use autocad to measure areas like homes and property. And I have a website to create a report using the meaurement as an input. I want to know if there is a way to send the meaurement results automatically from autocad to my website? The autocad…
Davy
  • 1
  • 1
1 2 3
92
93