AutoCAD .NET :: Reading In Mass DXF / DWG Files
Jan 8, 2013
i am developing some code to read in mass dxf OR dwg files, seperate the two, then convert each to a database to be read later. however, whenever i run it, i get this error: System.AccessViolationException:
Attempted to read or write protected memory. this is often an indication that other memory is corrupt.
at AcDbDatabase.dxfIn(AcDbDatabase*, Char*, Char*)
at Autodesk.AutoCAD.DatabaseServices.Database.DxfIn(String fileName, String logFilename)
at ZahnerCommands.Commands.GetFiles()....line 72
here is the code that i have so far. i have been tinkering around with it for a few days and cannot seem to get it to work. the dxf file i have chosen works perfectly well, and i am using autocad 2011.
using
Autodesk.AutoCAD.ApplicationServices;
using
Autodesk.AutoCAD.DatabaseServices;
using
Autodesk.AutoCAD.EditorInput;
using
Autodesk.AutoCAD.Runtime;
[code]...
View 4 Replies
ADVERTISEMENT
Aug 15, 2013
i found same topics as my, but i didnt find solution.
Is there any way for mass convert idw files (not same format - A4,A3,A2, ...) to pdf ?
I tried task manager, but i dont have some account for it.
View 1 Replies
View Related
Dec 5, 2011
is there any way to compare ctb files? I know there is a tool called tableprint9.exe that will export the ctb as text but it is not working with Autocad 2010.
Is there any way to access ctb files in .Net?
View 3 Replies
View Related
Jul 18, 2011
provide me with the code in ASP.net C# to read the .dwg files?
View 2 Replies
View Related
Jul 2, 2013
Can Autocad LT 2014 read Autocad LT 2010 files?
View 3 Replies
View Related
Dec 3, 2013
I have drawings that are saved as ACad 2010 and need to work on them in ACad 2014. I am receiving error messages saying the drawing is damaged and requires recovery. Errors are being detected and some files I can eventually open but edits are missing. Others I am unable to open and I get a message "audit could not correct errors in database".
View 3 Replies
View Related
Oct 3, 2011
I've been looking for a solution to remove the unit string ie Lbs, g, kg from the value given from a 'Mass' value in a text string.
As you may all know, creating text and having a 'physical property - mass' value...the unit string is there...
Lots of people on here have the problem...no-one has got a solution.
Until now...
Basically...open the part you need to get the mass property of in your text string.
Follow the instructions on this webpage...this is the first part...
[URL]
Basically, this creates a Mass property value in the parameters table that you can call on as a text parameter.
It's similar to the custom iproperty model - mass but NOT the same.
Once you have done this, you can go to the drawing of the part and create a text string in the drawing and call it up as shown in this procedure. BUT it still has the unit string.
Here's the best bit that you want to know...
To get RID of the unit string...open up the part again from the drawing...click on the parameter icon...find the user parameter...in the Nominal value column, right click on the value and you get a pop-up that gives you 3 options...
Custom Property Format, Make Multi Value & Delete Parameter.
Click on Custom Property Format.
The pop-up window comes up...showing you the property type...in my case...the 4 left columns read Text, g (grams), Format & Precision...
On the right hand side I have a Preview of the text...then 3 check boxes...Units string, Leading Zero's, Trailing Zero's.
Units string is checked.
Uncheck it.
Close it...Save your part...go back to the drawing and hey presto!...the text now shows the weight you require as a straight value...no units!
View 9 Replies
View Related
Sep 3, 2012
We are using Inventor 2012 and would like to read Solidworks 2012 files directly into the system. This can be done with Solidworks 2011 files but our vendor upgraded his software between the time he sent us test files to try the import and now. Can you tell me if the is a plug in or something that will allow us to read SW 2012 files or should we upgrade to Inventor 2013?
View 6 Replies
View Related
May 6, 2005
Is there a way to convert a bunch of files at the same time from one image file format to another? I am converting JPEG to PDF. I had it all finished (I did it manually),
View 5 Replies
View Related
Feb 7, 2013
Is it possible to write an AutoLISP script to read an .xlsx file and use the data in the various cells to modify a block within a .dwg?
Ex.: We use Flow Control Modules (FCMs) and use AutoCAD Electrical to show electrical contractors where/how to wire up the devices. In AutoCAD, we have blocks for various types of FCMs, and each block has terminals which are tagged DESCA1, DESCA2, DESCA3, etc. Each of these tags will change based on what the particular FCM is used for.
We also have .xls(x) files we call FCM Maps, which come from our engineers and tell the drafters how to lay out the .dwg files.
Is it possible to write a LISP script to take, say, cell A1 from the .xlsx file, and put that data into DESCA2 in the block, cell A2 into DESCA3, and so on?
View 6 Replies
View Related
May 19, 2009
I've got about 200 photos that need to be re-cropped from 720x486 to something smaller. Is there a way to do this to the entire lot with a single command?
View 4 Replies
View Related
Nov 14, 2012
I am a new Lr user, but have spend several hours experimenting with the product, so I have some familiarity with it. When I plug my card reader in my computer, Lr only sees the NEF files. I know I have both JPG and NEF files on the card, but Lightroom is not seeing the JPG files.
View 4 Replies
View Related
Aug 21, 2013
i was downloading my raw files from canon mark II and importing into Lightroom 4, i got half of them loaded but the rest didn't load bc it said it couldn't read the files. and they say zero bytes and i can't open them or see them in my external hard drive also.
View 5 Replies
View Related
Jan 5, 2013
I recently transferred my RAW images into LR4 and it is not listing them in the "Folders" on the left of the "Libray" screen. Files are in tact on my hard drives, however after import LR4 is not finding them. They are being read and listed on my backup drive however they will not come up on the main hard drive.
View 9 Replies
View Related
May 25, 2012
How do I read Canon 5D mk III images in PS CS4? I know the new ACR 7.6 upgrade doesn't apply to 4 so what's the work around?
View 4 Replies
View Related
May 11, 2013
I just purchased and installed PS Elements 11 and it seems to be unable to read the .CR2 raw files from my Canon 6D although according to the website this camera is supported.
View 1 Replies
View Related
Dec 18, 2011
I have Adobe Lightroom version 3.5. When importing my RAW/NEF files, lightroom says my "the following files could not be imported because they cannot be read." I use the option "convert files to DNG" upon import.I have a Nikon D5100.
View 6 Replies
View Related
Jul 24, 2013
I just installed LR5 and to my dismay it gives me an error message that it can't read the files from my CF card reader (CR2) Never had a problem with this in the past on LR3, LR4. LR5 support says I have all the latest updates.
View 1 Replies
View Related
Mar 13, 2014
Can Photoshop Elements read RAW files from Olympus OM-D E-M10 or if not can the files be converted to a compatible format?
View 4 Replies
View Related
Jan 9, 2014
I have Photoshop Elements 11 and just got a Canon 70D. How can I get the program to read the raw files?
View 9 Replies
View Related
Feb 16, 2014
Window 7 64bit
quad core, 8 GB RAM
Olympus EM-5 and E-5
Yesterday Lightroom handled a bunch of files from these cameras and today it gives me a message "The following files were not imported because they could not be read." same answer for both ORF (Olympus raw) and jpeg's. The files will open in Elements. Reformattng cards both CF and SD) uninstalling LR and downloading a new install.
View 2 Replies
View Related
Oct 2, 2012
It was working ok and then LR 3 stop bringing in the images that I sent to PS (CS5) to edit..it does not bring them into my collection.
View 4 Replies
View Related
Jun 13, 2013
I shoot RAW on my old D80 all the time, and have never had a problem. It won't read the D600 files.
View 7 Replies
View Related
Jul 19, 2013
My Photoshop CS4 quit reading CR2 files from my Canon EOS 5D Mark II. Photoshop update with new raw version failed.
View 9 Replies
View Related
Aug 16, 2013
How can I read a Canon cr2 raw file into PSE 10 ?
View 6 Replies
View Related
Oct 16, 2012
In middle of an import via a card reader, LR 4.2 stopped importing. dialogue box said could not read the files. Tested cards and cardreaders for two different cameras - same dialogue box comes up. response is there area many bugs in LR 4.2 and Adobe is ignoring. One Adobe spokes person suggested optimizing and restarting. haven't tried it yet.
View 10 Replies
View Related
Nov 20, 2012
Are there any good tutorials on reading/parsing text files and databases out there? I've been looking around, but I can't really find anything.
View 12 Replies
View Related
Dec 19, 2012
I have updated to ACR 7.3, my Photoshop is version 13.1 x64. However, I still cannot read the RAW files from my Nikon D600 with the message to check if there is an update for my cameras raw files available.
View 3 Replies
View Related
Aug 16, 2012
Had the operating system of my Macbook cleared, then reinstalled my copy of LR3. After first import from Nikon 7000, received message that raw files of this camera are not compatible with my LR. Puzzling, for I have loaded on this computer with this copy of LR3 from this camera thousands of raw files.
View 3 Replies
View Related
Aug 18, 2010
Our company just upgraded to AutoCad 2011. We get files from our clients that exports their files from revit. It seems that Autocad 2011 slows down when reading this files (cursor will have a second or two delay).
View 2 Replies
View Related
Jul 24, 2013
could not complete your request because reading spatial/lossless JPEG files is not implemented..
View 6 Replies
View Related