The usage scenario is as follows:
there is a main model (such as Sphere1), other models (such as Sphere2) will be attached to Sphere1, and attributes such as radius and color will be associated with Sphere1, so when creating, you need to ensure that Sphere1 already exists.
However, since the pvsm order is random, there is a problem.
One thing you can try is saving your state file as a python script instead of a pvsm file. This can be done by selecting to write out a py file instead of a pvsm file in the Save State feature. Because this will generate a script that executes commands to get back to your state, you have control in the order that things happen by modifying the script if necessary.
For example, when creating Sphere2, the radius of Sphere2 must be 10% of the main model Sphere1, but if Sphere1 does not exist, the radius of Sphere2 cannot be calculated, resulting in an exception.
How do you define the radius of Sphere2 as a percentage of Sphere1 currently? The only way I can think of is through Python scripting, as @Kenneth_Moreland mentioned. There is no mechanism to set one property as a function of another that I know of in the ParaView UI.