Update Weight Data Now

Hello,
I want to build an application which change a weight reference set for every component and updates all weight statuses when I save the assembly(we can see it in Assembly Navigator ). There is an option "Update Data On Save" in component properties --> weight tab.
But I don't want to save the whole assembly, I just need to update the weight status of each comp.
There is a button at the same location (Component Properties/Weight/Update Weight Data Now) which does exactly what I am looking for. But I cannot find it anywhere in NXOpen.

C#
NX7.5.5

I would be very grateful for any hints.

I don't currently have an advanced assemblies license to test with, but I'd try the UFWeight.AskProps(...) function.