mhupp Posted April 29, 2021 Posted April 29, 2021 (edited) This is a bit of a weird one. I Don't really know much about xrecords except its a way to store info in a drawing. Everything works great but because we use BricsCAD they are doing something funky with xrecords that Trueview doesn't like. When trying to open a file it will display the following and not open The following error was encountered while reading in XRECORD starting at line 79480: DXF read error Invalid or incomplete DXF input -- drawing discarded. line 79480 content XRECORD 5 70 102 {ACAD_REACTORS 330 6F 102 } 330 6F 100 AcDbXrecord 280 1 5005 bpenEnabled 290 1 5005 bpenFileName 5005 sketchy.bpen 0 I can delete these lines and save and the file will open in trueview again with out errors. (to manual) I can also cut everything out of the drawing and paste into a new drawing and it will open up in trueview with out errors. (faster but to manual, also have to set up titleblock and tabs again) Is their a lisp or something that i can just automatically delete this xrecord? trueview doesn't like the 5005 or sketchy.bpen even tho we only use 2d wireframe. Edited April 29, 2021 by mhupp Quote
mhupp Posted April 29, 2021 Author Posted April 29, 2021 Using Lee Macks Seal macro to at least speed up the copy everything to a new drawing. http://www.lee-mac.com/steal.html Quote
rkmcswain Posted April 29, 2021 Posted April 29, 2021 Heck, I've seen Trueview (and AutoCAD for that matter) fail to open DXF files that AutoCAD itself exported. I respect the fact that the DXF open process is checking the DXF file, but they should just let the file open and warn the user about issues. Quote
dan20047 Posted April 29, 2021 Posted April 29, 2021 Is it a reactor that needs removing? Try (vlr-remove-all)? https://documentation.help/AutoLISP-Functions/WS1a9193826455f5ff1a32d8d10ebc6b7ccc-677b.htm Otherwise rrbI:DeleteAllXRecs may be an option to delete an xrecord, I originally found in: https://www.theswamp.org/index.php?topic=7560.msg95561#msg95561 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.