riccardo.sistema
Guest
could someone kindly indicate me a quick way to rename all the windows of my layouts, without all the time going to edit it with the double clik on its window? ? ?
Last edited by a moderator:
proof questo:
(vl-load-com)
(setq n 100)
(setq lays (vla-get-layouts (vla-get-activedocument)))
(vlax-for x lays
(if (not (eq (strcase (vla-get-name x)) "model"))
(vla-put-name x (itoa n))
)
(setq n (1+ n))
)
the attached file you must place it in one of the specified routes in autocad with the option command -> search path of the support files.
after run (load "numlayout")
type numlayout. now has become a new autocad command.