How to use ModelRecover tool

How to use ModelRecover tool

namlt33
Advocate Advocate
1,355 Views
9 Replies
Message 1 of 10

How to use ModelRecover tool

namlt33
Advocate
Advocate

Suddenly out of no where my model had went broke and now i have to rely on ModelRecover tool to access to my hours of work. But i dont qute figure out how to use it, the recover option is blur 

namlt33_0-1712225809731.png

 

0 Likes
Accepted solutions (2)
1,356 Views
9 Replies
Replies (9)
Message 2 of 10

Karsten.Saenger
Autodesk Support
Autodesk Support
Accepted solution

Hi @namlt33 ,

 

the model isn't really broken.
The error message that is displayed states that a filename path is too long. So the overall path length exceeds the 255 characters limit.

Navigate to the model files folder "\Resources\LandXML\" and delete the folder  "97739458-8023-48ea-9b5b-a35133bdc7fd" - maybe better not delete it, but create a back-up.
This will remove the LandXML data source with the long file path. If this was the only issue, you should be able to open the model again and then reconnect the LandXML data source.

And - please change the model save folder to a local drive. Your model is located on OneDrive. This will lead to data corruption sooner or later, see https://knowledge.autodesk.com/article/Error-Unable-to-Open-Model-in-InfraWorks

 

Regards,

Karsten.



Karsten Saenger
Message 3 of 10

namlt33
Advocate
Advocate

How do i back that model, do you mean duplicate it? I had tried to but there was an notification that it have failed to create a copy still there is a copy model was created but also cant be opend

namlt33_0-1712740160026.png

 

0 Likes
Message 4 of 10

namlt33
Advocate
Advocate

How do i back that model, do you mean duplicate it? I had tried to but there was an notification that it have failed to create a copy still there is a copy model was created but also cant be opend

namlt33_0-1712740160026.png

 

0 Likes
Message 5 of 10

Karsten.Saenger
Autodesk Support
Autodesk Support

Hi @namlt33 ,

 

sorry for not being clear. I meant to create a copy of the folder for a backup before you delete the folder.

 

To create a full backup of a model, just copy the model database (model.files folder plus model.sqlite file).
Is it possible to share the model? For sharing, create a zip file of the model.files folder plus model.sqlite file and send the single zip file.

Please let me know if you need a OneDrive folder to upload the file.

 

Regards,

Karsten.



Karsten Saenger
Message 6 of 10

namlt33
Advocate
Advocate

Thanks @Karsten.Saenger , i wil try it as soon as i can. I wonder isn't it time for dev to put the file name's limit to a higher number of characters, it 2024 you know.

0 Likes
Message 7 of 10

Karsten.Saenger
Autodesk Support
Autodesk Support

Hi @namlt33 ,

 

the character limitation is not on the InfraWorks side, but on Windows, see https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry.



Karsten Saenger
Message 8 of 10

namlt33
Advocate
Advocate

The link you had provided mention about enable long paths. Is this work for my case? My work flow require a lot of data source file need to import and readjust into IW (i assumed that this may create a long file path)

0 Likes
Message 9 of 10

namlt33
Advocate
Advocate

Logs file 
could you pl take a look at the log file and tell me what excatly i should do pls

0 Likes
Message 10 of 10

Karsten.Saenger
Autodesk Support
Autodesk Support
Accepted solution

Hi @namlt33 ,

 

you run into a "filename too long" issue, for example:

Resources/IMX/af115fca-a5f7-4802-b4ec-732da0ed88de/62D404.aecc.7B75B2EC88BA0386A089E81308BF8529.BF84BD57B0C82894C04227DDDEB9063D.B07EEF2EE7297ED02F818058AF699B1C.1700F24E72C7F5100142534D043AE6A1.6419CBF21A43D6D0C9B3449115586BF4.74468ADC6CE32322B58FB964332D3521.pnt': Filename too long

 

This is a known issue and is supposed to be fixed with the next update/HotFix. The issue is that the filenames for IMX data sources (for example all Civil 3D DWG added data sources) are doubling.
The only workaround at the moment is:

  1. Delete the subfolders in the IMX folder of the model.files database.
  2. Open the InfraWorks model.
  3. Reconnect to the Civil 3D DWG imported data sources.

(The path for local InfraWorks models is pointing to OneDrive/Documents. I suggest changing this to a local drive/folder to avoid issues with local models.)

 

Regards,

Karsten.

 


 



Karsten Saenger