Adding functionality to radio buttons

Hello everyone, I am planning to create a userform where a user can choose two options through the radio button (see screenshot) and depending on the choice, the code will be executed accordingly. However, I am unable to provide functionality to the buttons. Do help me with this issue. I have attached the macro code too.

SolidworksApi/macros