Connector Feature not updating with new inputs

Hi, I am looking some help in understanding why something is happening. I am using the API (VBA) to insert an Edge Weld Connector to a model. I use the following line:

errCode = theNewLoad.SetWeldSizingSettingEuro(1, 155.2, 3, 0.8, 1.25, True, 10, 0)

but when I run the macro it is displayed as (inches) :

When I then manually click into it shows the correct input paramters;

Then when I click the green button it shows correct:

This is causing issues then when I automate a simulation later in my macro it is reading it as 10'' which is giving me incorrect results.

When I manually go in and just hit the green tick and run the macro it works as expected (as it now is stating in mm). Can anyone help? Have I missed a step? Any advice would be greatly appreciated! Thanks