TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: jtm2020hyo on May 04, 2022, 12:03:56 PM

Title: Copy Layout's ViewPort Layers settings to selected Layouts
Post by: jtm2020hyo on May 04, 2022, 12:03:56 PM
Anyone know if there exist any lisp to Copy ViewPort's layer settings to Selected Layout's Viewports?

(https://i.vgy.me/S78QeG.png)

Something like this:

1 Activate the first Layout to change
2 double click to ViewPort
2 Thaw/ Freeze your layers (viewport)
3 Run AutoLisp routine
4 Copy the configuration to all selected Layouts
Title: Re: Copy Layout's ViewPort Layers settings to selected Layouts
Post by: ronjonp on May 04, 2022, 02:41:50 PM
MATCHPROP will do it I think ... not sure code wise.

Looks like you have an answer here: https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/copy-layout-s-viewport-layers-settings-to-selected-layout-each/m-p/11147988#M430827
Title: Re: Copy Layout's ViewPort Layers settings to selected Layouts
Post by: mhupp on May 04, 2022, 08:34:50 PM
use this to copy said view port to all layouts. then use match prop like ronjonp said on the viewports that are there.
https://cadtips.cadalyst.com/2d-operations/copy-all-layouts (https://cadtips.cadalyst.com/2d-operations/copy-all-layouts)