TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: francinez13 on April 23, 2024, 02:55:54 PM

Title: Lisp to Create multiple viewport
Post by: francinez13 on April 23, 2024, 02:55:54 PM
I'm looking for a lisp to create multiple viewport.

I've found a lisp on this forum that almost meets my expectations, its name is NV.lsp. (see attached file)

I need 2 things, redo the same operation several times and insert the window not in the centre but in relation to a corner (for example the bottom left corner).

Does anyone know how to integrate this into this lisp?

Thank you very much in advance for the help
Title: Re: Lisp to Create multiple viewport
Post by: BIGAL on April 23, 2024, 07:26:39 PM
Do you want make viewports at scale to match a title block in Layouts like in this image the red rectangs have been made matching a MVIEW at scale. This is a slect P/Line and walk along or by placing rectangs, Rotation is supported by twisting view in layout.

(http://)
Title: Re: Lisp to Create multiple viewport
Post by: francinez13 on April 25, 2024, 09:22:42 AM
Yes, I need something like what you've drawn.
Do you have a Lisp so I can test it?

I also got an answer on the Autodesk forum, but I can only create one view after another. (see attached lisp). If possible it would be nice to select all View before inserting in the layout.
Title: Re: Lisp to Create multiple viewport
Post by: BIGAL on April 25, 2024, 07:27:33 PM
Post a dwg with a title block in a layout and what scale you want the view at. The advanced version asks for title block to be used and scale. Retrieving the title block from a master layouts dwg.