'Shape' is illegal.... trying to resolve Failed.

Hi,


I have an ACAD model (.DWG) that has been corrupted since I last saved.  I am unable to open this model.

I have run a RECOVER on the DWG to enable me to open the model, but that appears to damaged the ProSteel logic.  Now when I attempt to re-open the DWG (after saving after the RECOVER) - it seems it is trying to re-reference each shape profile within the model, and is taking a very long time to open.

Occasionally (while opening the DWG) I will be presented with a dialogue box asking me to select an 'illegal' shape profile.


My questions are:

1.  Why is it that some shapes are automatically resolved (success) but some are not (failed)?

2.  What can I do to enable more shapes to be automatically resolved (something in the shape database?)?

3.  How can I avoid this hassle in the future?  Sometimes a RECOVER is the only way to restore a corrupt DWG, will it always result in this loss of reference?


Thanks for any help.

  • Please see below a list of failed and successful reference checks (or whatever they are).

    AutoCAD 2017 - N 402.0.0 SP1.2
    ProSteel S6 - 08.11.11.207
    Australian Localisation
    Windows 10 64bit

  • Hi Lamensterms,

    Just to confirm this corrupted file was made from scratch from your installation and it was not a file from another user?

    Can you please send us the file? Also please give us more information on how the file was corrupted, is there a particular command that gave you an error and causes the file to be corrupted?

    Regards,
    Roger



  • Hi Roger,

    Please see corrupt file attached.  This is the file before the RECOVER, I am unable to open this file.

    In regards to how the file became corrupt, I cannot say.  It is a file that I had created from scratch, and have been working on for months.  Upon trying to open it yesterday, Autocad would not open it.  No error message or anything from ACAD, it simply will not open.

    Corrupt File.dwg

    AutoCAD 2017 - N 402.0.0 SP1.2
    ProSteel S6 - 08.11.11.207
    Australian Localisation
    Windows 10 64bit

  • Hi Lamensterms,


    I can confirm that with this procedure, almost the same as your procedure we need to re map the shapes which takes a lot of time.

    1. Open a new file
    2. RUN Recover
    3. I can see all the ProSteel Objects.
    4. I did a PS_REBUILD option 1
    5. Did a PS_RELOAD_REFERENCES
    6. Check the elements all seems to be working
    7. Upon closing the file and opening it
    8. I am getting the same dialog box to map the shapes and yes I agree it takes a bit of time.

    I then thought of what if I export the file to .psb and then re-import it.

    1. Open a new file
    2. RUN Recover
    3. I can see all the ProSteel Objects.
    4. I did a PS_REBUILD option 1
    5. Did a PS_RELOAD_REFERENCES
    6. Check the elements all seems to be working
    7. PS_EXPORT select all elements
    8. Save as .psb file
    9. Close the file
    10. Create a new file
    11. PS_import saved .psb file
    12. Save to a new filename.
    13. Re open the file
    14. ProSteel did not ask me to re-map the shapes.

    I have attached the file I have created using the 2nd procedure can you please check if it works.

    Drawing2.dwg

    Regards,

    Roger



  • Thanks Roger, that looks like a pretty good alternative to re-linking the references. The drawing you sent appears to be almost identical as my original (un-corrupt) file. There are a few differences with bolt names and stuff, but that is quite easily fixed.  Out of interest... what is the .PSB file?  Is there any way to extract data from it?  Could be handy for model analysis.

    Do you have any knowledge of what causes some of the shapes to link/resolve automatically and some not (question 1 & 2 in my original post)?

    AutoCAD 2017 - N 402.0.0 SP1.2
    ProSteel S6 - 08.11.11.207
    Australian Localisation
    Windows 10 64bit