Skip to content

Comments

Auto-update MSW segments on UI changes (opt-in)#13627

Draft
magnesj wants to merge 3 commits intodevfrom
auto-update-msw-segments
Draft

Auto-update MSW segments on UI changes (opt-in)#13627
magnesj wants to merge 3 commits intodevfrom
auto-update-msw-segments

Conversation

@magnesj
Copy link
Member

@magnesj magnesj commented Feb 17, 2026

Builds on #13625

Adds an auto-update option for MSW segments in RimWellPathCollection, enabling automatic segment updates when related well objects are modified via the UI. Introduces centralized update logic, hooks into child field changes and deletions, and updates the UI to expose the new toggle. Also refactors singleton access and fixes a field name typo.

Refactored RimMswSegmentCollection::updateSegments from an instance method to a static method that requires explicit top-level RimWellPath and RimEclipseCase parameters. Updated RimWellPathCollection to collect unique top-level wells and call the new static method.
Refactored RimMswSegment to store join segment, length, depth, and next segment length
Adds an auto-update option for MSW segments in RimWellPathCollection, enabling automatic segment updates when related well objects are modified via the UI. Introduces centralized update logic, hooks into child field changes and deletions, and updates the UI to expose the new toggle. Also refactors singleton access and fixes a field name typo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant