Add update load combination to adapter push#565
Add update load combination to adapter push#565Chrisshort92 wants to merge 24 commits intodevelopfrom
Conversation
Co-authored-by: Chrisshort92 <38885832+Chrisshort92@users.noreply.github.com>
Co-authored-by: Chrisshort92 <38885832+Chrisshort92@users.noreply.github.com>
…lete() calls Co-authored-by: Chrisshort92 <38885832+Chrisshort92@users.noreply.github.com>
…or non-existent combinations Co-authored-by: Chrisshort92 <38885832+Chrisshort92@users.noreply.github.com>
Co-authored-by: Chrisshort92 <38885832+Chrisshort92@users.noreply.github.com>
Co-authored-by: Chrisshort92 <38885832+Chrisshort92@users.noreply.github.com>
…lity in Robot_Adapter (#564)
staintono
left a comment
There was a problem hiding this comment.
Tested using the provided test script, load combinations are updated as expected based on the combination number. Error is thrown if combination does not yet exist in the model, as expected.
There was a problem hiding this comment.
Can you update the title, folder for the test script and the text for the PR. The body mentions Create methods breaking but does not address it in the PR. Similar for the Fixed Update Method and Technical Improvements, not sure how much it relates to the PR changes. I would keep the change log and description to a minimum for clarity.
I ran the script, but it just tried to update the RobotId for LoadCombination to 100, but it's already set as 100 so it doesn't really test the Update. I tried changing it to 200 and nothing happens:
In your script I would also want to a case that updates the factors, a case that updates the Loadcase and a case that tries to update with empty cases (prompting the error).
Co-authored-by: staintono <62057195+staintono@users.noreply.github.com>
|
@copilot update the PR description to summarise the current state of the changes. |
|
@staintono I've opened a new pull request, #575, to work on those changes. Once the pull request is ready, I'll request review from you. |
Co-authored-by: staintono <62057195+staintono@users.noreply.github.com>
… number Co-authored-by: staintono <62057195+staintono@users.noreply.github.com>
|
@BHoMBot Check Compliance |
|
I have just re-tested this functionality and works as expected with the update functions @staintono states above. @peterjamesnugent can you re-review ready for merge? |
peterjamesnugent
left a comment
There was a problem hiding this comment.
Some changes that were not covered in the test scripts, handling of null and where to exit the routine as well as warning and error messaging.
Co-authored-by: Peter Nugent <Peter.Nugent@burohappold.com>
Co-authored-by: Peter Nugent <Peter.Nugent@burohappold.com>
Co-authored-by: Peter Nugent <Peter.Nugent@burohappold.com>
Co-authored-by: Peter Nugent <Peter.Nugent@burohappold.com>
Co-authored-by: Peter Nugent <Peter.Nugent@burohappold.com>
|
@BHoMBot check required |
|
@Chrisshort92 to confirm, the following actions are now queued:
|
|
@BHoMBot check core |
|
@Chrisshort92 to confirm, the following actions are now queued:
There are 1 requests in the queue ahead of you. |
|
@BHoMBot check required |
|
@Chrisshort92 to confirm, the following actions are now queued:
There are 6 requests in the queue ahead of you. |
Chrisshort92
left a comment
There was a problem hiding this comment.
All comments now addressed
|
@BHoMBot check required |
|
@Chrisshort92 to confirm, the following actions are now queued:
There are 2 requests in the queue ahead of you. |
|
The check |
|
The check |
|
The check |
|
The check |
|
The check |
|
The check |

NOTE: Depends on
Issues addressed by this PR
Closes #563
Implements
Updatefunctionality forLoadCombinationsin Robot_Adapter. The Update method now:Numberproperty via directGet()call (following Loadcases pattern)Test files
https://burohappold.sharepoint.com/:f:/r/sites/BHoM/02_Current/12_Scripts/02_Pull%20Request/BHoM/Robot_Toolkit/%23565-add-update-load-combination-to-adapter-push?csf=1&web=1&e=GLPz1q
Changelog
Updatefunctionality forLoadCombinationsinRobot_AdapterAdditional comments