Repository navigation
Edit a hatch on double-click and from the context menu - #2109
Merged
HakanSeven12 merged 1 commit intoOct 24, 2026
Merged
Conversation
HATCHEDIT could not pick a hatch: a hatch has no boundary wire, and the command did not ask the pick to hit-test fills. It now does while waiting for the hatch. Double-clicking a hatch resolves it by its fill (then a block's hatch) like a single click, selects it and starts HATCHEDIT on it. AutoCAD's default double-click action for a hatch is Quick Properties, but Properties already follows a single click here, so the double-click edits. With exactly one hatch selected, the right-click menu leads with "Edit Hatch", as in AutoCAD. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hatches could not be edited by picking them:
HATCHEDIT/HEnever picked a hatch, and double-clicking or right-clicking a hatch offered no edit action.HatcheditCommandnow opts into fill hit-testing (entity_pick_includes_fills).HATCHEDIT, which skips its pick because the hatch is already selected.acad.cuix(DoubleClickActionHATCH →ID_QUICKPROPERTIES).Tests
New tests:
double_clicking_a_hatch_starts_hatchedit_on_ithatchedit_picks_a_hatch_by_its_filla_selected_hatch_gets_edit_hatch_in_the_context_menua_single_selected_hatch_offers_edit_hatch_firstcargo test --workspace --lockedpasses. I also checked by hand on a real architectural drawing:HEpicks a hatch;🤖 Generated with Claude Code