Overview
A simple extension example demonstrating how to link custom Python code to a ribbon icon in HyperMesh. Upon clicking the icon, a message will be printed in the IPython console.

Usage/Installation Instructions
1. Unzip the DemoExtensionWithPython.zip
2. Register the extension - File > Extensions and click Add Extension in the Extension Manager dialog
Hello Michal,
Thanks for sharing.
When I tried to adapt the example to our environment, I encountered an issue. I received the following error:
TypeError: myFunc() got an unexpected keyword argument 'charmap'
The solution was to modify the function definition to include
*args
and**kwargs
:I hope this helps anyone else facing a similar issue.