Images don't show in AutoCAD until you manually Reload them in the xref manager #845
Replies: 8 comments 1 reply
-
setting header vars is easy:
DXF Reference says to $PROJECTNAME:
I will add $PROJECTNAME='' as default value in my templates files. Thanks for your contribution. Manfred |
Beta Was this translation helpful? Give feedback.
-
I saw $PROJECTNAME='' is the default in my template files, I will add a HOWTO section for this problem with existing DXF files. |
Beta Was this translation helpful? Give feedback.
-
Now I got no error message on opening drawings, but the image is still not shown, reference status 'Nicht lesbar' (not readable), I have to run 'Alle Referenzen neu laden' (reload all references) to see the image. Any suggestion about this? Because the DXF reference does not have ANY information about such internal state problems or how to organize this internal structures correct. |
Beta Was this translation helpful? Give feedback.
-
ProgressAfter extensive tests, this appears to be a DXF reading If the filename in the I performed the same tests when loading identical files (but resaved as DWGs) and they loaded and displayed the images, even with relative / no paths. SummaryI haven't found a fix for images with a relative path in DXF. However, a workaround appears to be to save the full file path in the DXF or save it as a DWG. |
Beta Was this translation helpful? Give feedback.
-
Thank you, I will add this information to the howto section. |
Beta Was this translation helpful? Give feedback.
-
Guys, this issue is still persistent in ACAD 2021. |
Beta Was this translation helpful? Give feedback.
-
This is still a problem with DWG TrueView 2023. Has anyone else noticed that very short simple image file names seem to avoid this problem? Once I ensured that the image file's name was short and had no special characters (letters, numbers and underscores only) the problem seemed to go away. I didn't rigorously analyze the behavior as its very time consuming. Also: You can safely put the image in a subdirectory and use a relative path. The name of the subdirectory does not seem to trigger this problem, provided that the image file name itself is very short and simple. Also pro tip: The XRef manager exists in DWG TrueView, but access to it is only possible if you have a completely broken reference. Create a DXF with a reference to a non-existent file, then the error dialog will let you open the XRef Manager. Once it is open you can pin it and it will be open next time, even if you have no broken references. |
Beta Was this translation helpful? Give feedback.
-
@luzader Thank you! If you don't mind, I'll add your tips to the HowTo section. |
Beta Was this translation helpful? Give feedback.
-
Images with relative paths fail to show on DXFs opened in AutoCAD by default. XRef manager shows them as !unreadable. You have to go to the xref manager and manually 'Reload' them before they show.
##POTENTIAL FIX:
I found that you need to add the following to the headers section
'''
9
$PROJECTNAME
1
'''
##REASON:
If the value after the 1 is left blank, it uses the DXF file's path as the initial place to look when loading images and shows the images straight away.
Beta Was this translation helpful? Give feedback.
All reactions