- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need help with the following AutoCAD Macro
Im using AutoCAD 2023 and just need a simple button to complete a specific set of tasks when selected. I have tried to make a custom macro but as i add new commands its starts to act up and dosent function as intended.
i assume this is a user error issue and figured i would seek some assistance.
Goal of the Marco: (while in Model Space)
- Zoom Extents
- Save All - File Name to be supplied
- View Layout 1 (named JPEG)
- Activate Model Space (inside layout 1)
- Zoom Extents
- Activate Paper Space (inside layout 1)
- Zoom Extents
- Plot Layout (name to match filename)
- View Layout 2 (named BMP)
- Activate Model Space (inside layout 2)
- Zoom Extents
- Activate Paper Space (inside layout 2)
- Zoom Extents
- Plot Layout (name to match filename)
- View Layout 3 (named PNG)
- Activate Model Space (inside layout 3)
- Zoom Extents
- Activate Paper Space (inside layout 3)
- Zoom Extents
- Plot Layout (name to match filename)
- View Model space
- Save
This is the Marco i have at this time:
^C^C_zoom e _saveas 2018 / layout set JPEG mspace zoom e pspace zoom e plot layout set BMP mspace zoom e pspace zoom e plot layout set PNG mspace zoom e pspace zoom e plot layout set model qsave
let me know where i went wrong, or point me to reference material that might help anything helps
Solved! Go to Solution.