Assuming you are scripting (it sounds like you are), and have loaded the results into your Pyomo model…
You just need to say something like: obj_value = my_model.my_objective()
The () operator computes the value of the objective on-the-fly, using current values for the variables.
jpw