Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Structure_Engine: Added an additional Create Method for GeometricalLineLoad #3213

Conversation

Arne-Martensen
Copy link
Contributor

@Arne-Martensen Arne-Martensen commented Nov 17, 2023

NOTE: Depends on

BHoM/BHoM#1565

Issues addressed by this PR

The class GeometricalLineLoad has been modified by adding an attribute, as discussed in BHoM/BHoM#1564. this PR should introduce a new 'Create' method featuring a more intuitive naming and data structure for the input parameters.

Closes #3212

Test files

https://burohappold.sharepoint.com/:u:/r/sites/BHoM/02_Current/12_Scripts/01_Issue/BHoM/BHoM_Engine/Structure_Engine/%233412-ChangesToGeometricalLineLoad/%233412ChangestoGeometricalLineLoad.gh?csf=1&web=1&e=GBLHkr

Changelog

Additional comments

@peterjamesnugent peterjamesnugent changed the title Added another Creat Method for GeometricalLineLoad Structure_Engine: Added an additional Create Method for GeometricalLineLoad Nov 17, 2023
@Arne-Martensen Arne-Martensen self-assigned this Nov 20, 2023
@Arne-Martensen Arne-Martensen marked this pull request as ready for review November 24, 2023 10:01
Copy link
Member

@peterjamesnugent peterjamesnugent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes needed - as on BHoM/BHoM#1565 (review) can you please make sure the scripts are saved in the right place and combined concisely.

I am getting the following error when pushing to Robot (only when Panels are assigned (which I think is ok because Robot does not actually use the Panels and I don't want to change the fundamental checks that the adapter is making to allow the pushing of GeometricalLineLoads with Panels assigned (that won't be used anyway).

  1. The IAreaElements assigned to the GeometricalLineLoad named GeometricalLineLoad - Partial Intersect being pushed does not contain any id-information and can not be identified by the software.
    Please make sure all IAreaElements assigned to the GeometricalLineLoad have been pulled from the package to ensure they contain the necessary information.

Structure_Engine/Create/Loads/GeometricalLineLoad.cs Outdated Show resolved Hide resolved
Structure_Engine/Create/Loads/GeometricalLineLoad.cs Outdated Show resolved Hide resolved
Structure_Engine/Create/Loads/GeometricalLineLoad.cs Outdated Show resolved Hide resolved
@peterjamesnugent
Copy link
Member

I have also found it is implemented in the SAP2000_Toolkit:
https://github.com/BHoM/SAP2000_Toolkit/blob/0ad777707dcfbacf906c277f908aa1dd6fcb4cc5/SAP2000_Adapter/CRUD/Create/Loads.cs#L430-L459

But it looks like it will be unaffected.

@Ahmed-buro
Copy link

I have tested using the test script using SAP2000 and the functionality is unaffected.

Copy link
Member

@peterjamesnugent peterjamesnugent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to approved based on previous review and recent commits. Tested with Robot_Toolkit to ensure the functionality is changed, similarly @Ahmed-buro has tested with SAP2000.

@peterjamesnugent
Copy link
Member

@BHoMBot check required
@BHoMBot check copyright-compliance

Copy link

bhombot-ci bot commented Nov 29, 2023

@peterjamesnugent to confirm, the following actions are now queued:

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check core
  • check null-handling
  • check serialisation
  • check versioning
  • check installer
  • check copyright-compliance

There are 11 requests in the queue ahead of you.

Copy link

bhombot-ci bot commented Nov 29, 2023

@Arne-Martensen just to let you know, I have provided a check-versioning result to this Pull Request as it was detected to be linked to other Pull Requests in a series. The comment which triggered this check came from @peterjamesnugent on BHoM

Copy link

bhombot-ci bot commented Nov 29, 2023

@Arne-Martensen just to let you know, I have provided a check-installer result to this Pull Request as it was detected to be linked to other Pull Requests in a series. The comment which triggered this check came from @peterjamesnugent on BHoM

@peterjamesnugent
Copy link
Member

@BHoMBot check unit-tests
@BHoMBot check dataset-compliance

Copy link

bhombot-ci bot commented Nov 29, 2023

@peterjamesnugent to confirm, the following actions are now queued:

  • check unit-tests
  • check dataset-compliance

There are 4 requests in the queue ahead of you.

Copy link

bhombot-ci bot commented Nov 29, 2023

The check versioning has already been run previously and recorded as a successful check. This check has not been run again at this time.

Copy link

bhombot-ci bot commented Nov 29, 2023

The check installer has already been run previously and recorded as a successful check. This check has not been run again at this time.

@FraserGreenroyd FraserGreenroyd added the type:feature New capability or enhancement label Nov 29, 2023
@FraserGreenroyd
Copy link
Contributor

@BHoMBot this is a DevOps instruction. I am requesting neutral check on: unit-tests

Copy link

bhombot-ci bot commented Nov 29, 2023

@Arne-Martensen just to let you know, I have provided a check-ready-to-merge result to this Pull Request as it was detected to be linked to other Pull Requests in a series. The comment which triggered this check came from @FraserGreenroyd on BHoM

Copy link

bhombot-ci bot commented Nov 29, 2023

@FraserGreenroyd I'm sorry, but I am not authorised to take that instruction from you.

@FraserGreenroyd
Copy link
Contributor

@BHoMBot this is a DevOps instruction. I am requesting neutral checks on: unit-tests

Copy link

bhombot-ci bot commented Nov 29, 2023

@FraserGreenroyd I have provided neutral checks to the checks requested. These checks will need to be run properly to obtain full results.

@FraserGreenroyd FraserGreenroyd merged commit 86f7b80 into develop Nov 29, 2023
12 checks passed
@FraserGreenroyd FraserGreenroyd deleted the Structures_oM-#1564-AddAdditionalIAreaElementsToGemetricalLineLoads branch November 29, 2023 14:49
@bhombot-ci bhombot-ci bot mentioned this pull request Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New capability or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add another Create Method for GeometricalLineLoad
4 participants