Hello,
we found that the directory for additional pictures that was previously located in the "Pics" directory inside the installation directory of AutoCAD, has been moved to the local app data of the current user in Map 3d 2024.
As part of our plug-in installation we are deploying a set of images that are used in our plug-ins for Map 3d. As the images are not loaded per-user and not system wide anymore, this fails.
What is the intended way to deploy images for the plug-ins with this change in place?
Best regards,
Martin
Hello,
we found that the directory for additional pictures that was previously located in the "Pics" directory inside the installation directory of AutoCAD, has been moved to the local app data of the current user in Map 3d 2024.
As part of our plug-in installation we are deploying a set of images that are used in our plug-ins for Map 3d. As the images are not loaded per-user and not system wide anymore, this fails.
What is the intended way to deploy images for the plug-ins with this change in place?
Best regards,
Martin
I am curious what you mean by "...the "Pics" directory inside the installation directory of AutoCAD...". My C3D 2023 installation does not have a "Pics" folder.
Maybe you could install the images to your plug-in "Contents" folder and access them from there?
I am curious what you mean by "...the "Pics" directory inside the installation directory of AutoCAD...". My C3D 2023 installation does not have a "Pics" folder.
Maybe you could install the images to your plug-in "Contents" folder and access them from there?
You can't see it, but it is there. 😉
We are talking about the following directory: C:\Program Files\Autodesk\AutoCAD 2023\Map\Pics
This is the directory that is used, if you reference the icon for a workflow (for example) only by it's filename. Map 3d will lookup the file in this directory. The implementation for this is part of the "Autodesk.Map.IM.ImageResources" assembly.
Those images are also used by the picture box and the static picture dialog control, as well as the report engine.
A note about this behaviour is well hidden in the help for Map 3d: https://help.autodesk.com/view/MAP/2023/ENU/?guid=GUID-59E82B43-7968-4D13-B4E6-10FA55299EE2
Now with 2024 the directory has been changed to:
%LOCALAPPDATA%\Autodesk\Autodesk AutoCAD Map 3D 2024\R24.3\<language>\Pics
Best regards,
Martin
You can't see it, but it is there. 😉
We are talking about the following directory: C:\Program Files\Autodesk\AutoCAD 2023\Map\Pics
This is the directory that is used, if you reference the icon for a workflow (for example) only by it's filename. Map 3d will lookup the file in this directory. The implementation for this is part of the "Autodesk.Map.IM.ImageResources" assembly.
Those images are also used by the picture box and the static picture dialog control, as well as the report engine.
A note about this behaviour is well hidden in the help for Map 3d: https://help.autodesk.com/view/MAP/2023/ENU/?guid=GUID-59E82B43-7968-4D13-B4E6-10FA55299EE2
Now with 2024 the directory has been changed to:
%LOCALAPPDATA%\Autodesk\Autodesk AutoCAD Map 3D 2024\R24.3\<language>\Pics
Best regards,
Martin
Can't find what you're looking for? Ask the community or share your knowledge.