U225X / ENGINEERING UNWARRANTED
SOLIDWORKS Rotation Macro
Public record / CHAT-0351 / Revision EXPORT-03
PUBLIC RECORD
U225X
U225X
A conversation-specific public summary of solidworks rotation macro, distilled from the supplied export. The detailed excerpts remain available in the released note file.
TECHNICAL NOTES
Conversation-specific knowledge extracted from the solidworks rotation macro discussion.
EXTRACTED KNOWLEDGE / HOW-TO FROM CONVERSATION
QUESTION / CONTEXT: is there a way to precisly roate this view so it looks like the red boxc, if not can we write a macro that works like this, i select a line of the part in the view and it roates it this is solid works 2025
- you click one straight line or visible linear edge in the drawing view
- run the macro
- it rotates that view so the selected line becomes exactly horizontal
- optional: you can enter `90` if you want that line vertical instead
- Use this in SOLIDWORKS 2025 VBA macro:
- Set swApp = Application.SldWorks
- Set swModel = swApp.ActiveDoc
- Set swMathUtil = swApp.GetMathUtility
SPECIFICATION
SourceSupplied ChatGPT export
CategoryBuild & Tools
Conversation6 user turns / 10 assistant turns
Attachments47 references detected
Public detailExtracted knowledge + excerpts
DEVELOPMENT HISTORY
2026.04.15EXPORT-04Matched to the supplied export; key guidance is surfaced separately and the raw transcript remains unpublished.