Jump to content

lisp viewport create from modelspace


Recommended Posts

Posted

Hi all.

I need one more help.

I have one rectangle block, when i insert the block in model space, the layout should be create in automatically for that block covered area.

I want lisp to create layout automatically when i insert rectangle block.

Some one help me?

 

 

Thanks in advance.

Regards

Dinesh P

Posted

Saving a VIEW for the rectangle block is as good as inserting that view on layout tab. For this requirement try exploring Sheet Set

It is as easy as dragging the Sheet View to create layout on Paper space.

Posted

If you simply pick a centre point of your rectang you can use zoom center scale to set the viewport.

 

1 have a title block in a layout have a mview already created scale not important, manual steps are next can be automated and there was a post very recently including lisp code.

 

Command: ID

Specify point: X = 132.596 Y = 141.444 Z = 0.000 centre of rectang

Command: picked layout

Regenerating layout.

Regenerating model.

Command: Specify opposite corner or [Fence/WPolygon/CPolygon]: *Cancel*

Command: _.MSPACE

Command: Z

ZOOM

Specify corner of window, enter a scale factor (nX or nXP), or

[All/Center/Dynamic/Extents/Previous/Scale/Window/Object] : e

Command: Z

ZOOM

Specify corner of window, enter a scale factor (nX or nXP), or

[All/Center/Dynamic/Extents/Previous/Scale/Window/Object] : c

Specify center point: 132.596,141.444

Enter magnification or height : 4xp for us thats 1:250

Grab grips and size to suit

Posted

Hi.

Thanks for your reply.

I understand what you say.

but i need automation program...here i attached a dwg file.

in this file, in model space i insert a rectangle block 001, 002.(block created from viewport).

When i insert the block the layout is automatically create for that respective block. ( for example 001 block-->SHT-001 A3a)

can you understand...?

95518671.DWG

Thanks again.

Regards

Dinesh P

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...