Skip to content

Support Version v26#334

Merged
peterjamesnugent merged 16 commits into
developfrom
SAP2000_Toolkit-#318-SupportVersionV26
Jul 17, 2026
Merged

Support Version v26#334
peterjamesnugent merged 16 commits into
developfrom
SAP2000_Toolkit-#318-SupportVersionV26

Conversation

@GCRA101

@GCRA101 GCRA101 commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

Issues addressed by this PR

Fixes #318

BHoM SAP2000 Toolkit now supporting SAP2000 v26.

Test files

https://burohappold.sharepoint.com/:f:/r/sites/BHoM/02_Current/12_Scripts/02_Pull%20Request/BHoM/SAP2000_Toolkit/%23334-SupportVersionV26?csf=1&web=1&e=r8zLzB

Changelog

  • Created libs/v26/ folder containing assemblies for SAP2000 v26
  • Referenced CSiAPIv1.dll and SAP2000v1.dll for SAP2000 v26

Additional comments

  • To be tested with older versions of SAP2000 to check compatibility prior to merge.

@GCRA101 GCRA101 self-assigned this Feb 12, 2026
@GCRA101 GCRA101 added type:bug Error or unexpected behaviour priority:high High impact, high user value, driven by live project needs labels Feb 12, 2026
@GCRA101

GCRA101 commented Feb 12, 2026

Copy link
Copy Markdown
Contributor Author

@samuelbasimalla,
Checked this thouroughly for SAP2000 V26 and it works fine.
As mentioned, if you could test this with your SAP2000 v25 license that would be really amazing test of retro-compatibility (I don't have access to v25 license in London unfortunately)
Thanks a lot for your help. (test files are the standard ones used for general toolkits testing) ;).
Any questions, let me know :)

@samuelbasimalla

Copy link
Copy Markdown

@GCRA101
Tested this on SAP2000 Version 25.1.0 to check retro compatibility.
I am using Rhino 7 for testing.

As communicated in the chat, I couldn't build the solution as both the dll references CSiAPIv1.dll and SAP2000v1.dll for SAP2000 v25 cannot be found. I had to reference them again in V25 folder of my machine for the build to be successful.

I tested the script in Structures - Create - Read - Update - Elements.
It is generally working as intended with right warning messages like Levels not being supported by SAP2000 adapter.
I noticed the time taken to create elements is similar to a ETABS adapter however, the time taken to update the elements is much longer than a ETABS adapter.

This is for your initial feedback, I will proceed with testing other scripts and provide comments in due course.

@bhombot-ci

bhombot-ci Bot commented Feb 17, 2026

Copy link
Copy Markdown

@GCRA101 fix requested for project compliance.

The errors with the CSProject (.csproj) files have been recorded as annotations on the checks tab.

I will apply the fixes to every case detailed on the checks tab with the exception of any references to the target framework. I am unable to provide fixes to the Target Framework automatically, these will need to be performed manually. If you want to perform the fixes in a different manner please resolve this manually and rerun the check.

If you are happy for me to go ahead and perform this action, please reply with:

@BHoMBot fix project file ref. 63814872786

@GCRA101

GCRA101 commented Feb 17, 2026

Copy link
Copy Markdown
Contributor Author

@BHoMBot fix project file ref. 63814872786

@bhombot-ci

bhombot-ci Bot commented Feb 17, 2026

Copy link
Copy Markdown

@GCRA101 I have queued up your request to fix the csproj file(s). There are 0 requests in the queue ahead of you.

@bhombot-ci

bhombot-ci Bot commented Feb 17, 2026

Copy link
Copy Markdown

@GCRA101 I am now going to fix the project compliance in accordance with the annotations previously made.

@bhombot-ci

bhombot-ci Bot commented Feb 17, 2026

Copy link
Copy Markdown

@GCRA101 to confirm I have now resolved the project compliance issues and pushed a commit to this Pull Request.

@GCRA101

GCRA101 commented Feb 19, 2026

Copy link
Copy Markdown
Contributor Author

@BHoMBot check installer

@bhombot-ci

bhombot-ci Bot commented Feb 19, 2026

Copy link
Copy Markdown

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

  • check installer

@GCRA101

GCRA101 commented Feb 19, 2026

Copy link
Copy Markdown
Contributor Author

@BHoMBot check installer

@bhombot-ci

bhombot-ci Bot commented Feb 19, 2026

Copy link
Copy Markdown

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

  • check installer

@GCRA101
GCRA101 force-pushed the SAP2000_Toolkit-#318-SupportVersionV26 branch from 1dd9559 to befddda Compare July 13, 2026 14:28
@GCRA101

GCRA101 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

@BHoMBot check installer

@bhombot-ci

bhombot-ci Bot commented Jul 14, 2026

Copy link
Copy Markdown

@GCRA101 I am now going to fix the project compliance in accordance with the annotations previously made.

@bhombot-ci

bhombot-ci Bot commented Jul 14, 2026

Copy link
Copy Markdown

@GCRA101 to confirm I have now resolved the project compliance issues and pushed a commit to this Pull Request.

@BHoM BHoM deleted a comment from bhombot-ci Bot Jul 14, 2026
@GCRA101

GCRA101 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

@BHoMBot check installer

@bhombot-ci

bhombot-ci Bot commented Jul 14, 2026

Copy link
Copy Markdown

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

  • check installer

There are 5 requests in the queue ahead of you.

@GCRA101

GCRA101 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

@BHoMBot check installer

@bhombot-ci

bhombot-ci Bot commented Jul 14, 2026

Copy link
Copy Markdown

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

  • check installer

There are 3 requests in the queue ahead of you.

@GCRA101

GCRA101 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

@BHoMBot check required

@bhombot-ci

bhombot-ci Bot commented Jul 14, 2026

Copy link
Copy Markdown

@GCRA101 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

There are 2 requests in the queue ahead of you.

@bhombot-ci

bhombot-ci Bot commented Jul 14, 2026

Copy link
Copy Markdown

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

@samuelbasimalla

Copy link
Copy Markdown

@GCRA101
Tested this on SAP2000 Version 25.1.0 to check retro compatibility.
I am using Rhino 7 for testing.

I am able to successfully build the solution in my machine.

I tested the script in Structures - Create - Read - Update - Elements and Structures - Create non-existing
image
image

Based on the two tested scripts, it is working as intended.

Do we want to remove the capability to push levels as SAP2000 doesn't support this? Or we can also leave it like it is now as it still gives a warning message to notify the user levels are not supported by SAP2000 adapter.

@GCRA101

GCRA101 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

@samuelbasimalla,

thanks a lot for your review. That's super good news!

For the levels we can do either. Now that we have the Adapter working with v26 and also works for retro-compatibility we can crack on that as well as all other features :).
I would be tempted to keep it as similar to ETABS as possible....so keeping a warning message with same code makes things more consistent across the two packages.

fyi @peterjamesnugent,

it would be great to have this merged by end of the week if possible so that from next week onwards we can start implementing all the missing features we have in our list.
Let me know what are your thoughts and anything is missing I'll make sure to get it done asap.

Thank you both.

@GCRA101
GCRA101 requested review from samuelbasimalla and removed request for samuelbasimalla July 16, 2026 14:15

@peterjamesnugent peterjamesnugent left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we get someone to test in Rhino 8, specifically to hit this if statement:

Engine.Base.Compute.RecordError($"The SAP2000Adapter is currently not support in NET runtimes above .NETFramework due to internal errors in the SAP2000 API. A fix for this is being worked on. \n" +

Comment thread .gitignore Outdated
Comment thread SAP2000_Engine/SAP2000_Engine.csproj Outdated
GCRA101 and others added 2 commits July 16, 2026 18:53
Track all *.dll files

Co-authored-by: Peter Nugent <Peter.Nugent@burohappold.com>
@samuelbasimalla

Copy link
Copy Markdown

@GCRA101 @peterjamesnugent
After the changes made, I tested again in both Rhino 7 and Rhino 8 with the same two testing scripts mentioned above in Version 25.1.0 of SAP2000.

name of test scripts: Structures - Create - Read - Update - Elements and Structures - Create non-existing.

All functionality working as intended.

My rhino DotNetRuntime is already set to compatbility framework version 4.xx (did this for ETABS), the reason why it probably works without hitting the if statement mentioned by @peterjamesnugent .

@samuelbasimalla samuelbasimalla left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

After the changes made, I tested again in both Rhino 7 and Rhino 8 with the same two testing scripts mentioned above in Version 25.1.0 of SAP2000.

Name of test scripts: Structures - Create - Read - Update - Elements and Structures - Create non-existing.

All functionality working as intended.

@GCRA101
GCRA101 requested a review from peterjamesnugent July 17, 2026 09:12
@peterjamesnugent
peterjamesnugent dismissed their stale review July 17, 2026 12:19

Changes addressed and checks conducted in Rhino 8

@peterjamesnugent

Copy link
Copy Markdown
Member

@BHoMBot check ready-to-merge

@bhombot-ci

bhombot-ci Bot commented Jul 17, 2026

Copy link
Copy Markdown

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

  • check ready-to-merge

@peterjamesnugent peterjamesnugent left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Adding an approving review based on @samuelbasimalla 's comments,

@peterjamesnugent

Copy link
Copy Markdown
Member

@BHoMBot check ready-to-merge

@bhombot-ci

bhombot-ci Bot commented Jul 17, 2026

Copy link
Copy Markdown

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

  • check ready-to-merge

@peterjamesnugent
peterjamesnugent merged commit 0f69bbd into develop Jul 17, 2026
11 checks passed
@peterjamesnugent
peterjamesnugent deleted the SAP2000_Toolkit-#318-SupportVersionV26 branch July 17, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:high High impact, high user value, driven by live project needs type:bug Error or unexpected behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

# Support for Recent version.

4 participants