Author Topic: Lisp to Create multiple viewport  (Read 289 times)

0 Members and 1 Guest are viewing this topic.

francinez13

  • Mosquito
  • Posts: 3
Lisp to Create multiple viewport
« 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

BIGAL

  • Swamp Rat
  • Posts: 1422
  • 40 + years of using Autocad
Re: Lisp to Create multiple viewport
« Reply #1 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.

A man who never made a mistake never made anything

francinez13

  • Mosquito
  • Posts: 3
Re: Lisp to Create multiple viewport
« Reply #2 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.

BIGAL

  • Swamp Rat
  • Posts: 1422
  • 40 + years of using Autocad
Re: Lisp to Create multiple viewport
« Reply #3 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.
A man who never made a mistake never made anything