autocad

Open source cad drawing (dwg) library in C#

Anyone knows of an open source DWG (autocad drawing) library in C#? ...

Using Lisp (or AutoLisp) how good is the associative lists performance?

I'm doing an AutoLisp project which uses long associative structures to do heavy geometrical processing - so I'm curious about the associative list intense use timing results. How simple/complex is the implementation? It uses some data structure or a normal list of dotted pairs? The are any extension for b-tree or something? ...

Best practices with Unit testing on Third Party software API's (AutoCAD)

Hi, We are developing applications for use within AutoCAD. Basically we create a Class Library Project, and load the .dll in autoCAD with a command (NETLOAD). As so, we can use commands, "palettes", user controls, forms etc... AutoDesk provides an API through some dll's, running in their program directory. When referencing these dll'...

How to convert AutocadDWG To PDF?

Is there another way to convert AutocadDWG To PDF but to use third party programs? Thanks for any suggestions. ...

What are CAD apps written in, and how are they organized ?

What are CAD applications (Rhino, Autocad) of today written in and how are they organized internally ? I gave as an example, Autocad and Rhino, although I would love to hear of other examples as well. I'm particularly interested in knowing what is their backend written in (multilanguage ?) and how is it organized, and how do they handle...

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 through JAVA, definitely not writing a complete JNI wrapper over it. Added: We are looking ...

Reading .DXF files

Does anyone know of source code, ideally in C# or similar, for reading .DXF files (as used by AutoCAD etc)? If not code, then tables showing the various codes (elements / blocks / etc) and their meanings? I am writing a reader myself, and have dead tree documentation detailing the format, but am trying to avoid writing e.g. a converter ...

Starting point for learning CAD/CAE file formats?

We are developing some stress and strain analysis software at university. Now it's time to move from rectangles and boxes and spheres to some real models. But I still have little idea where to start. In our software we are going to build mesh and then make calculations, but how do I import solid bodies from CAD/CAE software? 1) How CAD...

AutoCad EndPlot event firing too soon in (C#, API)

Hi, i am leveraging the AutoCad API's to do the following... 1] open autocad 2] load a document 3] print the document 4] close autocad All this is working fine except for the fact that autocad is closing too quickly before the document has finished spooling off. To get around this i have subscribed to the EndPlot event (printing has fi...

Path for an AutoCAD file that contain an Excel file

I have an embedded Excel (.xls) file in a AutoCAD (.dwg) file. Using VBA (under Excel) I want to extract the path for the file that contains it (the path for AutoCAD file). ...

SOAP request from within an AutoLISP/AutoCAD macro

We have built a webservice for a client that uses AutoCAD. They have a macro that runs in AutoCAD that builds a SOAP request. But they have not figured out how to actually send() the soap request to us. So the XML is all proper and ready to go, they just need to send it. Anybody out there familiar enough with AutoLISP to know how to se...

Does VBA keep a cache of past code changes?

I created a smallish application in VBA for autocad (.dvb file). It has a form and a bunch of modules. I originally wrote some code in a module that contained and IP address (10.0.0.16). Later on I replaced the IP address with the actual netbios name (MyServer). In doing some maintenance I had searched the folder containing this file w...

how to subversion AutoCAD

Hi, I am new to Subversion. I was trying to subversion AutoCAD files for my projects deparment, however it does'nt seem to work. It works fine with docs and xls files etc., Along with 'subversion', i am using Tortoise SVN client. Would appreciate some clear responses for this ? Sams ps - Any suggestions for AutoDesk Vault workgroup ? ...

Debugging what this LISP Virus is doing

My firm has been hit by an AutoCAD virus that is deleting and replacing our acaddoc.lsp with the routine below. I'm an architect and not exactly sure what this is doing by the repetitive "find" and "deletes". Questions What is this replacing the files with (currently searching for acadapq) ? Who writes a virus for AutoCAD?!?! ...

.net library for extracting block attributes out of autocad drawings

Hi all, I'm looking for a .net library that will enable me to extract block attributes out of a autocad file. I don't mind paying for a developers licence but I should be able to freely redistribute the library itself without additional costs. Is there a lib that suits my needs? greetings, Coen ...

Create dependency in DLL to other module with a non-".DLL" extension

A bit of an odd question here, but AutoCAD uses extension DLL's with the .ARX extension, which are really exactly like regular DLL's, besides their extension. Now we have built three .ARX files, where the two latter ones have dependencies to the first. Upon loading these two, AutoCAD complains that it can't find a required file, and whe...

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? ...

Can I unite matlab and autocad into one system

I need unite in one automatic system. Which application should be used for that if that possible ...

Anyway to automatically convert DWF to PDF?

Hi all, Our eTendering solution, www.monaqasat.com, currently works exclusively with PDF documents for various reasons, some of them being security. We are being asked if we can support DWF documents. For this to happen, we would need to find a way to automatically convert DWF documents to PDF, using some kind of Unix application. Does...

Generate identical Hashcodes for approximately-similar numbers

I'm creating an application in C# 3.5 that uses the AutoCAD API to read a 2D AutoCAD drawing, make changes to the drawing using defined business logic, then adjust it back in AutoCAD. Due to the nature of the logic, the shape of the drawing has to be re-constructed - e.g. a rectangle is made up of 4 connecting straight lines. I'm creat...