Project data & BIM
About BIM-based management of attributes, schedules, templates, favorites, hotlinks, projects in general, quality assurance, etc.

Icon for .pln-files?

Mats_Knutsson
Advisor
Hi,
Is there any way to fix which icon is displayed for pln files?
If you install new versions of AC, all pln files automatically get the icon corresponding to the latest version of the archive installed. (not the latest AC version but last installed)
Similarly, if you uninstall an old version of AC, all pln files lose their icon and appear as a generic file.
It still works to open all files as it should. But the icon appears wrong!
Mats
AC 25 SWE Full

HP Zbook Fury 15,6 G8. 32 GB RAM. Nvidia RTX A3000.
7 REPLIES 7
Barry Kelly
Moderator
If you associate the Archicad program with the .PLN file type, then it should show the correct icon.
No idea with Macs, but in Windows right click on a .PLN file and 'Open With'.
Then choose 'Choose another app" and browse for the Archicad 22 (or other version) program (.exe) file.
This should create the association and set the file icon.
You may need to restart your machine.


Also we used to be able to set any icon in the FILE menu > File Info > Project Preview ...
Here we could paste any image we wanted and we would see that for each file.


So you can have a different icon for every file if you want.
I just use a number for the version but it could be a 3D image of the project as well (although it would be very small).
So you could get this ...


But this seems to be broken in 22
I can't get it to work.
It used to be a case of going to ... C:\Program Files\Graphisoft\ARCHICAD 22\GRAPHISOFT Shell Extension
And then running the 'Register.bat' file.
Restart the machine and the preview icon appeared for all .PLN files.
The best I can get is the blue Archicad arch now.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Daniel Kovacs
Graphisoft Alumni
Graphisoft Alumni
Hello,

Thanks for the extensive explanation about how to associate file types Barry.
On macOS this works similarly: you have to right click on a PLN file, select Get Info, and in the appearing window, under "Open With" you will have the option to select the default application. Select the correct ARCHICAD version here, and click the "Change All..." button to apply it to PLN files in general (not just the selected instance). Also, Project Preview Pictures automatically appear on macOS (if the file type is correctly associated with ARCHICAD of course).

I added it to our list of issues that displaying the project preview image as the icon sometimes does not work with ARCHICAD 22 files. The bat definition used for this hasn't changed for years so we are not quite sure why this is (maybe something changed in Windows), but we are looking into it (issue #257594).

In the meantime I got the following suggestions that might help this problem:
  • Right click on the bat file, and select "run as Administrator. For a few years now command prompt has an Administrator and a non-administrator mode, and it can make all the difference (so for certain commands, you have to start command prompt as an administrator to work). After running this, restart the computer.
  • Modify the bat files a bit and Run them again (as Administrator of course)
    • Right-click the bat file and choose 'Edit'
    • Add a new line between the 2 existing ones and enter this into it:
      cd %~dp0
    • Save the bat file, run it again (as Admin), and restart the computer.
  • Register the Shell Extension through Command Prompt
    • Run Command Prompt As Administrator
    • Run the following command (with the path of your installed ARCHICAD of course):
      regsvr32 /s "C:\Program Files\GRAPHISOFT\ARCHICAD 22\GSShellX64.dll"
    • Restart the computer
  • If it is still not working, try reinstalling ARCHICAD 22
When we were testing things here, after doing all these steps, it started working again. Hope it will help you as well.

Regards,
Daniel Alexander Kovacs

Professional Services Consultant

GRAPHISOFT



For Troubleshooting and useful Tips & Tricks visit
agroni
Booster
WOW! Barry...You have 8 versions of Archicad on your computer!
How many of the do you use
The BIMster @ AllesWirdGut
Currently: Archicad 26
User since Archicad 6.5 (2001)
Barry Kelly
Moderator
agroni wrote:
WOW! Barry...You have 8 versions of Archicad on your computer!
How many of the do you use
I actually have more than that, as I also have AUS, INT and USA versions just to see the differences (library objects mainly), not to mention different builds, preview and beta versions when testing.

I actually use only AUS versions 18, 20 and 22.
I create all of my library objects in 18 so that is compatible with the oldest version we use.
I was doing this in 15 until about 6 months ago when we decided we will no longer support anything older than 18, to force all of our offices to upgrade.
We are in the throws of converting over to 22, but with hundreds if not thousands of standard plans and current jobs, it is not a quick process.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Barry Kelly
Moderator
While I am back in this topic, I have tried all of the suggestions made by Daniel, but I still only can get the blue arch symbol for the PLN files.
I know it is possible to have custom icons because while installing 22 on other machines around the office I can still see them.
There is obviously a setting somewhere (I assume in Windows) that is stopping this on my machine (and some others).
The problem is all of our office machines may be set up slightly differently to each other and I don't have direct access to these machines to play with settings.
Some may be even still on Windows 7 and I think these are OK but I am sure I have seen other Windows 10 machines where the custom icons work as well.

It is not a big deal, just nice to have.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Hello,
I just want to ask you guys. I downloaded Archicad 23 version, but when I save a .pln file it shows 7-zip icon and cannot be opened. Don't you know, where the trouble ja please?

Thanks a lot
Barry Kelly
Moderator
Lucas wrote:
Hello,
I just want to ask you guys. I downloaded Archicad 23 version, but when I save a .pln file it shows 7-zip icon and cannot be opened. Don't you know, where the trouble ja please?

It seems like your system is associating the PLN file type with the wrong program.
You don't say if you are Windows or Mac.
If windows, try the 'Open With' option I mentioned in a previous post and associate the PLN file type with Archicad 23.

Or go to ... C:\Program Files\Graphisoft\ARCHICAD 22\GRAPHISOFT Shell Extension
And then run the 'Register.bat' file.
This may also reset the association - I am not sure if this works any more.


Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11