BHoM / Robot_Toolkit

Tools for Robot Structural Analysis
GNU Lesser General Public License v3.0
11 stars 3 forks source link

How to Replace/Update UDL in Robot? #543

Open dextertuay99 opened 7 months ago

dextertuay99 commented 7 months ago

I'm pushing BarUniformlyDistributedLoad to Robot. Ideally, I'm expecting every push is to replace/update the existing UDL. But what happens is that every time I toggle the button, a new UDL is pushed, in addition to the exiting one.

Any help on how to push the UDL to replace/update the existing UDL?

Alternatively, if the above doesn't work, anyone have idea on how to remove the existing loadcase in Robot before pushing a new one?

Thanks in advance.

FraserGreenroyd commented 7 months ago

@peterjamesnugent @IsakNaslundBh can you help here?

peterjamesnugent commented 7 months ago

Hi @dextertuay99, you can see what we support in the Wiki: https://github.com/BHoM/Robot_Toolkit/wiki/BHoM-Robot-object-relations#loading

For BarUniformlyDistributedLoad there is currently no suport for Update or Delete - is there a particular reason you want to keep pushing new loads to replace? Perhaps we can help figure out a different workflow?

dextertuay99 commented 7 months ago

I see. Cause I am working on a workflow to push several UDLs to a few beams respectively. But when it comes to updating the load value, a new UDL will be added in addition to the one pushed previously.

I notice that Loadcase can be deleted, so I've tried to delete that specific Loadcase before pushing the updated UDLs. But when I connect Loadcase to the Remove Adapter, it shows:

  1. Invalid request input.