betterway Posted March 10, 2025 Posted March 10, 2025 (setq pt1 (getpoint "Pick zoom window first corner: ")) (setq pt2 (getpoint "Pick zoom window second corner: ")) (vl-cmdf "_.Zoom" "w" pt1 pt2) As you are picking the second point, is there a way to show the dragged rectangle like the normal zoom window command shown below? (Need the 2 points coordinates for later calculation) for example: Quote
marko_ribar Posted March 10, 2025 Posted March 10, 2025 (setq pt1 (getpoint "Pick zoom window first corner: ")) (setq pt2 (getcorner pt1 "Pick zoom window second corner: ")) (vl-cmdf "_.Zoom" "w" pt1 pt2) 1 Quote
betterway Posted March 10, 2025 Author Posted March 10, 2025 Very Good ! Thank you .... worked perfectly. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.