chulse Posted August 18, 2010 Posted August 18, 2010 I can't seem to locate a tool to decompile SHX files. The express tool DUMPSHX doesn't seem to exist in C3D 2011 and I have not been able to find the SHX2SHP.exe tool I have read about. Specifically, what I am wanting to do is merge several shx (shape, not font) files into a single one. I have a few with the same name but different contents and I want to correct that. Anyone know of a way to do this? Thanks Quote
eldon Posted August 18, 2010 Posted August 18, 2010 The programme to decompile SHX files (dumpshx.exe) always used to be run from the OS command line, and not in AutoCAD. Have a look for the executable programme in the support folder. I would be saddened if they had taken away such a useful tool Quote
rkmcswain Posted August 18, 2010 Posted August 18, 2010 ... I have not been able to find the SHX2SHP.exe tool I have read about. A quick google search found this copy: http://cdn.simtel.net/pub/simtel/00/04/04/58/shx2shp.zip Quote
chulse Posted August 18, 2010 Author Posted August 18, 2010 A quick google search found this copy: http://cdn.simtel.net/pub/simtel/00/04/04/58/shx2shp.zip I guess I need to go back to Google, Bing didn't come up with that one... I am searching for the dumpshx also, but have not found it on my machine yet. Thanks to both of you Quote
chulse Posted August 18, 2010 Author Posted August 18, 2010 ... ok, the search did eventually find DUMPSHX.EXE in the install folder. Thanks again. Quote
chulse Posted August 18, 2010 Author Posted August 18, 2010 Well, to add further to this - the DUMPSHX.exe returns a windows error and will not run. Quote
eldon Posted August 18, 2010 Posted August 18, 2010 Well, to add further to this - the DUMPSHX.exe returns a windows error and will not run. It was probably written to run in DOS. Is your OS too far updated? Quote
chulse Posted August 18, 2010 Author Posted August 18, 2010 (edited) I don't know. I have XP pro with all the updates... The SHX2SHP.exe worked a treat though. Edited August 18, 2010 by chulse Quote
chulse Posted August 19, 2010 Author Posted August 19, 2010 Ok now I have a new issue with this. I have decompiled "ltypeshp.shx", but I cannot get the COMPILE command to reverse the process (I have made no changes to the shp that was created). I get the following error: Command: COMPILE Compiling shape/font description file Bad shape definition at line 10 of Y:\2010\709 Lucerne Cayucos\dwg\civil\LTYPESHP.shp: Invalid octant spec 3C This is the first 10 lines of the shp: *130,6,TRACK1 014,2,01c,1,01c,0 *131,3,ZIG 012,01e,0 *132,6,BOX 014,020,02c,028,014,0 *133,4,CIRC1 10,(1,-64),0 *134,6,BAT 025,10,(2,-60),02b,0 Does anyone know what the error code means exactly and how to correct it? Thanks again Quote
eldon Posted August 19, 2010 Posted August 19, 2010 I don't know how to correct your fault, but I did a bit of ferreting in the support folder, and found that I had ltypeshp.shp already as well as the ltypeshp.shx. ;;; ; (C) Copyright 1997 by Autodesk, Inc. ;;; ltypeshp.SHP - shapes for complex linetypes ;;; *130,6,TRACK1 014,002,01C,001,01C,0 *131,3,ZIG 012,01E,0 *132,6,BOX 014,020,02C,028,014,0 *133,4,CIRC1 10,1,-040,0 *134,6,BAT 025,10,2,-044,02B,0 It looks a bit different to yours. Quote
chulse Posted August 19, 2010 Author Posted August 19, 2010 That seemed to work, thanks. I guess the SHX2SHP decompiler isn't the same as the built-in version. I wish I knew why DUMPSHX doesn't work for me... 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.