Repository navigation
Drawing sheets: list, add and activate - #286
Merged
Merged
Conversation
…and three views on Sheet1, an isometric on a 2:1 Details sheet
…e_hole's point pick can see both faces
… for the base, Right for the upright), where create_hole's point pick lands on the point
…hrough both ways, which no view affects; the base's holes stay create_hole from the Top view
…idWorks rescales it to 2:1 until create_drawing_view keeps the scale) and moves the views clear of the title block
…Details sheet) in Demos, with its GIF; the drawing-sheets demo task done
# Conflicts: # CHANGELOG.md # README.md # docs/assets/progress/progress.json # docs/assets/progress/progress.svg # docs/assets/progress/tables.html # docs/assets/progress/tool-list-size.md # docs/demos.md # docs/index.md # docs/llms.txt # docs/user-guide/tool-catalog/index.md # docs/user-guide/tools-overview.md # mkdocs.yml # openspec/queue.md # src/solidworks_mcp/adapters/base.py # src/solidworks_mcp/adapters/circuit_breaker.py # src/solidworks_mcp/adapters/connection_pool.py # src/solidworks_mcp/adapters/mock_adapter.py # src/solidworks_mcp/adapters/pywin32_adapter.py # src/solidworks_mcp/tools/error_classifier.py # src/solidworks_mcp/tools/tool_hints.py # tests/solidworks_mcp/tools/test_error_classifier.py
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.
Drawing sheets: the first part of queue item 37. Three new tools, all in beta.
The tools
list_sheets: each sheet's name, paper size, scale, projection, and which one is active. Sheets are read without switching between them.add_sheet: a new sheet with a format (defaulta3 - iso), paper size, scale and projection, made active. The projection defaults to the active sheet's.activate_sheet: makes a sheet active by name, ignoring case.Probe and live test (SolidWorks 2026 SP4)
GetSheetNames,GetProperties2,NewSheet4with a custom format, andActivateSheet. Details indesign.md.One finding to note:
create_drawing_viewrescales the active sheet to fit its view, so Details read 5:1 after its view was placed. That is the existing tool's behaviour, not these tools'. Whether it should keep a scale you set is listed as a question.Spec:
openspec/changes/drawing-sheets/.Checks
This PR touches the same lists as #284 and #285 (tool counts, registration, the layer tests). Whichever merges later needs a small merge; I'll do it.