.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to edit a .dwg file without opening AutoCAD

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
adjg13
21926 Views, 8 Replies

How to edit a .dwg file without opening AutoCAD

Hello All,

 

Is there a way to edit a .dwg file (specifically I want to gather entities based on their layer and then change them to a different layer) without opening the AutoCAD?

 

I guess I'm looking for some sort of way to open the file without all the graphics. I just want to access and edit the data.

 

I have a large amount of files that need to be processed and it would just take forever. I was hoping there was some way to open the drawing in the background for the program to work with.

8 REPLIES 8
Message 2 of 9
arcticad
in reply to: adjg13

You can open the drawing as a side database, (Autocad needs to be running, No Additional Cost).

Or you can use RealDWG to open it (Without Autocad Running, Cost Money)

---------------------------



(defun botsbuildbots() (botsbuildbots))
Message 3 of 9
mzakiralam
in reply to: adjg13

I think this is not possible to edit a .dwg file without opening AutoCAD
Message 4 of 9
adjg13
in reply to: mzakiralam

Thank you articad. I searched how to open a .dwg as a side database and I found an article on through the interface that gives some good examples. Here it is in case anyone else runs across this topic.

 

http://through-the-interface.typepad.com/through_the_interface/2007/07/accessing-dwg-f.html

 

Message 5 of 9
dgorsman
in reply to: adjg13

There is also the core console for simple GUI-less operations.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 6 of 9
arcticad
in reply to: dgorsman
Message 7 of 9
27925916
in reply to: arcticad

hi,have you completed reading data from dwg without openning cad? I am also working on it recently.

Message 8 of 9
AbuFaisal
in reply to: adjg13

Its not working in Autocad 2017. Anyone have solved it for the new Autocad?

 

Its error : 
Error BC31091 Import of type 'IDynamicMetaObjectProvider' from assembly or module 'System.Core.dll' failed. PLTUL2 E:\Documents\Dropbox\Public\VB.Net\PLTUL\PLTUL2\Class1.vb 831 Active

Message 9 of 9
tlagendyk
in reply to: adjg13

Autocad has a built in feature called core console, you can use it with windows batch filing scripts to modify many files without opening them https://github.com/albisserAdrian/acadCC

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost