tom kyler_dup1 Posted March 4, 2004 Share Posted March 4, 2004 I have a script that makes a custom selection and I would like to automatically zoom to the selected objects...just like the "fit to objects", but can find no function or procedure for that. Any ideas on how to use the "Zoom" class of procedures to accomplish the feat. I figure I could probably calculate the view based on the bounding boxes of the selected objects as well as the zoom factor, but am looking for an easier solution first. Quote Link to comment
Guest Posted March 4, 2004 Share Posted March 4, 2004 After creating your script with Custom Selection you can edit the script to add the following statement: DoMenuTextByName('Fit To Objects', 0); That should do it. Quote Link to comment
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.