Skip to content

Expand reference to resolve conflict - #546

Merged
Chrisshort92 merged 1 commit into
developfrom
Etabs_Toolkit-#545-resolve-new-conflict-between-adapterquery-unitsquery
Sep 7, 2026
Merged

Chrisshort92 merged 1 commit into
developfrom
Etabs_Toolkit-#545-resolve-new-conflict-between-adapterquery-unitsquery

Conversation

@Chrisshort92

@Chrisshort92 Chrisshort92 commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

NOTE: Depends on

Issues addressed by this PR

Closes #545

Expanded single Query reference to its full path to resolve conflict between Adapter.Query() & Units.Query(). New Units.Query() method added in Localisation_Toolkit introduces this conflict.

BHoM/Localisation_Toolkit#181

object runningInstance = Query.GetActiveObject(programId);

now reads

object runningInstance = BH.Engine.Adapter.Query.GetActiveObject(programId);

Test files

https://burohappold.sharepoint.com/:f:/r/sites/BHoM/02_Current/12_Scripts/02_Pull%20Request/BHoM/ETABS_Toolkit/%23546-ExpandReferenceToResolveConflict?d=we8cfb29e1da74b90bd6d02b4414afd53&csf=1&web=1&e=sYDoi8

Changelog

Additional comments

@Chrisshort92

Copy link
Copy Markdown
Contributor Author

@BHoMBot check required

@bhombot-ci

bhombot-ci Bot commented Sep 6, 2026

Copy link
Copy Markdown

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

@Chrisshort92

Copy link
Copy Markdown
Contributor Author

@BHoMBot check copyright-compliance

@bhombot-ci

bhombot-ci Bot commented Sep 6, 2026

Copy link
Copy Markdown

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

  • check copyright-compliance

There are 19 requests in the queue ahead of you.

@IsakNaslundBh IsakNaslundBh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Se no issue with this, and given it build fine I am happy to approve.

@Martian42

Copy link
Copy Markdown
image The model pushed to ETABS 22.7 successfully. A warning about undefine material, but expected behavior, and not code breaking. image Level imported correctly image All geometry imported correctly image Property aligns with input image Successfully pulled in models back into Grasshopper

Happy to say this works as intended, and the adaptor works for pushing and pulling

@Martian42 Martian42 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.

Test script has been used to test the functionality to push and pull with ETABS 22.7, All works as intended.

@Chrisshort92

Copy link
Copy Markdown
Contributor Author

@BHoMBot check ready-to-merge

@bhombot-ci

bhombot-ci Bot commented Sep 7, 2026

Copy link
Copy Markdown

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

  • check ready-to-merge

There are 10 requests in the queue ahead of you.

@Chrisshort92
Chrisshort92 merged commit 776452c into develop Sep 7, 2026
10 checks passed
@Chrisshort92
Chrisshort92 deleted the Etabs_Toolkit-#545-resolve-new-conflict-between-adapterquery-unitsquery branch September 7, 2026 10:27
@BHoMBot BHoMBot mentioned this pull request Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Error or unexpected behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resolve new conflict between Adapter.Query & Units.Query

3 participants