Jump to content

new layout and view port from model


rouho

Recommended Posts

Hello, I am looking for a lisp that does the following action (if possible):

 

I have multiple rectangles in model space that ultimately would be the edges of the layout and the viewport. I would like to have a routine that would create a single layout (its papersize would be inserted in a dialog box) for each rectangle and in each layout a viewport with the contents of each rectangle at a scale that would be inserted in a dialogbox will be created.

 

In other words, when running this routine I could select the papersize (e.g. A4) and scale of the viewport, then select the borders of each rectangle and a layout and viewport would be created as shown in the sample file.

 

Is this possible?

 

Thank you.sample.dwg

Link to comment
Share on other sites

Its possible

Select rectang, scale and size

work out new rectang size at plot scale

make new layout, Mview new rectang

go mspace Zoom C of old rectang at new scale

Pspace all done.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...