It seems you are using Process Simulate, I am working on Process Deisgn where I am unable to find "Update eMserver" Command.
I also tried run my code in Process Simulate, looks like all data (weld points and operations) were not loaded.
In PD, I load the data manually by "AddRoot", however PS does not provide "AddRoot"
Is there is a way load all data via API?
Try adding the objects inside a RobcadStudy object (which can be created inside a StudyFolder object) and then load this studyfolder in process designer. This way you don't need to be manually adding to root everytime . In PD you use "Save Scenario" command instead of "update eMServer"
I tried "Save Scenario" however it did not work. I noticed "wp2100" does not exist in MFG features tab of the properties of "weldoperation". I guess this is why the saving is failed. Is there a way to synchronize the Properteis view and Relation Viewer?