Questions tagged [objectarx]

AutoDesk AutoCAD API to write 3rd party tools for AutoCAD. ObjectARX is also used in RealDWG package. RealDWG library is a subset of ObjectARX to handle AutoCAD database files (dwg and dxf files).

ObjectARX is an API published by Autodesk, Inc. The original ObjectARX SDK is a native API. Autodesk also publishes a managed equivalent called the ObjectARX .NET SDK. ObjectARX is used primarily for creating add-ons that work in-process with AutoCAD and AutoCAD-based applications. A subset of the API is used by standalone applications using the RealDWG SDK for accessing DWG and DXF format files without AutoCAD.

82 questions
5
votes
4 answers

Interfacing AutoCAD with JAVA

Any idea on interfacing with AutoCAD through a JAVA program. I am looking for a solution that can directly interface with an AutoCAD session (even start one), the way it works with the .NET extensions of AutoCAD. Or any way to work with ObjectARX…
sangupta
  • 2,396
  • 3
  • 23
  • 37
5
votes
2 answers

ObjectARX, RealDWG or Teigha?

I'm planning on developing a piece of software that reads & manipulates data in a .dwg file. Instead of writing my own library that handles the 'reading' of the data file, I've decided to use either RealDWG or Teigha, however I'm struggling to…
Joe Morgan
  • 430
  • 2
  • 8
  • 19
4
votes
2 answers

How can I improve the speed of .NET Plug-in Development?

I'm developing an AutoCAD add-in, which uses a .NET 4.6 assembly. I am finding the development process very frustrating; the API is very large and the documentation beyond getting started is all over the place and very hard to find. The only way to…
Steve Rukuts
  • 9,167
  • 3
  • 50
  • 72
4
votes
0 answers

ObjectARX read/write .dwg files that are not currently opened in autocad

Im trying to modify a .dwg file and overwrite the .dwg file once done, all that without opening it in autocad. I've read about RealDWG but the goal here is not to be in a standalone mode. the autocad plugin runs from autocad and needs to modify and…
malcolm waldron
  • 667
  • 6
  • 6
4
votes
2 answers

Load custom .net dll inside accoreconsole.exe

I am trying to load my custom .net dll inside accoreconsole.exe (AutoCAD 2016) using netload command but it fails to load the dll. Below is the output from accoreconsole.exe : Redirect stdout (file:…
amit
  • 363
  • 2
  • 10
  • 24
4
votes
1 answer

AutoCAD -INSERT command in .NET

I have been tasked with translating an AutoCAD plugin from VBA to VB.NET, and I'm currently a bit stuck. The command I'm working on creates a new layer (or select it as the active layer if it already exist), then executes 2 "-INSERT" commands giving…
Alxandr
  • 12,345
  • 10
  • 59
  • 95
3
votes
0 answers

how to learn objectArx?

i have intermediate c++ knowledge and i was write some c# tools to autocad now i want to learn ObjectArx i spent some time to google for tutorial or something start with and get that link http://arxdummies.blogspot.com/ this is only useful link on…
Khalid Omar
  • 2,353
  • 5
  • 35
  • 46
3
votes
2 answers

What is the order of load AutoCAD plugins?

There are few ways of automatic load applications - plugins when AutoCAD starts. I know those: startup suite - attached by GUI List item %appdata%....\support\zwcad2018.lsp ( I use ZWCAD, maybe in Acad, there is another path. The long time ago when…
CAD Developer
  • 1,532
  • 2
  • 21
  • 27
3
votes
4 answers

SaveAs in COM hanging AutoCAD

I'm implementing an application which uses COM in AutoCAD's ObjectARX interface to automate drawing actions, such as open and save as. According to the documentation, I should be able to call AcadDocument.SaveAs() and pass in a filename, a "save as…
Andy Shellam
  • 15,403
  • 1
  • 27
  • 41
2
votes
1 answer

Creating layout & logic AutoCAD plugin dialog

I am brand new to AutoCAD plugin development. I'm trying to create a plugin that loads as an entire main menu option inside of AutoCAD (let's call this menu the "Fizzbuzz" menu, and when the user selects one of the menu items (say, Fizzbuzz >>…
smeeb
  • 27,777
  • 57
  • 250
  • 447
2
votes
1 answer

AutoCAD Plugin Development by Example

I am interested in developing an AutoCAD plugin and am trying to understand the relationships between several different types of AutoCAD plugin files: Managed DLLs that ship with AutoCAD plugins ARX files that ship with AutoCAD plugins CUIX files…
smeeb
  • 27,777
  • 57
  • 250
  • 447
2
votes
4 answers

Exception reading location in C

I have a simple C code as below : #pragma warning(disable : 4996) #include #include #include #include #include #include #include #include #include…
Abhilash D K
  • 1,223
  • 1
  • 23
  • 39
2
votes
0 answers

LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Maineng.obj

We are trying to open a c++ project which was built on VS 2010 and Object ARX 2014 in VS 2012 but getting below errors : LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Maineng.obj in rxapi.lib Could anybody…
Abhilash D K
  • 1,223
  • 1
  • 23
  • 39
2
votes
2 answers

AutoCAD C++ When AcDbEntity need to open for read?

I’m not sure when open entities for read is necessary, and when it may be omit. For example I know I don’t need to open entity when I want to use objectId() but there are some methods which require to open entity before. I don’t know if it’s…
CAD Developer
  • 1,532
  • 2
  • 21
  • 27
2
votes
1 answer

Setting up Visual Studio 2013 to Develop AutoCAD 2015 plugins

I'm trying to continue working on my plugins for AutoCAD in Visual Studio 2013. I opened up my project files and all the references to Autodesk libraries were missing. To remedy this, I added references to the following dll files from ObjectARX 2015…
Nick Gilbert
  • 4,159
  • 8
  • 43
  • 90
1
2 3 4 5 6