BHoM / BHoM_Adapter

GNU Lesser General Public License v3.0
7 stars 6 forks source link

Add PriorityTypes module for prioritising objects being pushed #390

Open peterjamesnugent opened 2 months ago

peterjamesnugent commented 2 months ago

Description:

In relation to this issue: https://github.com/BHoM/ETABS_Toolkit/issues/435

Essentially, if you put a list of different object types, some should take priority over others where DepedencyType cannot be relied upon.

For example the Level are not a depedency of either a Bar or Panel, but is required to be pushed first before any other objects are pushed.

peterjamesnugent commented 1 month ago

Needs to happen after EvaluateDepedencyDepth(): https://github.com/BHoM/BHoM_Adapter/blob/develop/Adapter_Engine/Query/GetDependencySortedObjects.cs

Needs to be updated on IBHoMAdapter: https://github.com/BHoM/BHoM_Adapter/blob/develop/Adapter_oM/IBHoMAdapter.cs

See https://bhom.xyz/documentation/Contributing/Best-practices/Branching-Strategy/ for linking PRs across different repos.