TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started 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
-
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
-
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)