cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 

Add-On version information in Add-on Manager

Dear Developers,

 

From Archicad 30 the Add-On Manager will display the version of the add-ons on the Info area of the Available Add-ons panel.

AddOnVersion.png

 

How to set the version?

 

If you develop you add-on using the archicad-addon-cmake tools, then it's encouraged that you set the version, otherwise you get a warning if you leave the default "0.0.0" in. This works on both platforms, on Windows and Macintosh.

config.json

{
    ...,
    "version": "30.0.0",
    ...
}

 

If you use your own build system, like Visual Studio on Windows, or XCode on Mac, you can set the version in the native resources.

 

On Windows you can add a VERSIONINFO resource and fill the FILEVERSION field:

VS_VERSION_INFO VERSIONINFO
    FILEVERSION 30,0,0,0
    ...
END

The fourth value, Build Number is not displayed.

 

On Mac you can add an info.plist and fill the CFBundleShortVersionString key:

<plist version="1.0">
<dict>
	...
	<key>CFBundleShortVersionString</key>
	<string>30.0.0</string>
	...
</dict>
</plist>

 

Happy coding!

 

Best Regards,

Tamás

 

Authors