How to create automatic layouts

How to create automatic layouts

Anonymous
Not applicable
43,433 Views
116 Replies
Message 1 of 117

How to create automatic layouts

Anonymous
Not applicable

Hi Everyone,

 

Please help me to create automatic layouts for the attached drawing

 

Also request you to please provide me the LISP/FAS file.

 

The attache dwg is simple drawing. But i have 200 grids in some cases.

 

Please help on this.

 

Thank you in advance. 

0 Likes
Accepted solutions (1)
43,434 Views
116 Replies
Replies (116)
Message 21 of 117

ronjonp
Advisor
Advisor

That's quite the program!

 

I was only referring to the sample sheet the OP provided on tab 'X-XXX-X which is 11x17 paper size.

 

0 Likes
Message 22 of 117

Anonymous
Not applicable

Hello guys.

Where can i find the source? Still looking for a solution by witch the blocks in modelsapce are in a angel and in the layout the viewpor should stand stright up. Is that difficult to create?

 

Regards

0 Likes
Message 23 of 117

maratovich
Advisor
Advisor

Have you watched several of our posts before?
You ask what I described?
Maybe we can do it.
Give us an example of your .dwg file and an example of how it should work out.

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 24 of 117

Anonymous
Not applicable

Sorry did not read properly. But here is an example from a drawing.

The block has three attributes where the name('s) for the layout is given.

 

Regards Henk 

0 Likes
Message 25 of 117

maratovich
Advisor
Advisor

You can only do this for flat rectangles. Rotated ones are not created.
An example of how to do the video. Names by the attribute of the block.

 

 

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 26 of 117

ronjonp
Advisor
Advisor

It would be much easier if your block was defined as a 1x1 unit square. Then the X an Y scale could be set to the sheet size. Also put the insertion point in the center of the box. From that you have all the information to make a view that matches.

image.png

 

 

0 Likes
Message 27 of 117

Anonymous
Not applicable

Thanx for the reply.

I will replace the insertpoint to teh center of the block.

The second thing is that the size off the viewport has the same size of the block. I only used the example drawing of the earlier post Trail2.dwg.

No need for a frame on the paperspace even the scale may be the same as in modelspace 1:1.

So only a paperspace whit a (rotated UCS) viewport would be nice.

 

Regards Henk

0 Likes
Message 28 of 117

Anonymous
Not applicable

And of course a new sample drawing 

0 Likes
Message 29 of 117

vishwa0121
Contributor
Contributor

Thank you very much for your effort. its really useful but still i am facing some issues

1) i am facing trouble in Scaling factor.

2) and also title block is missing wen layout creates.

is it possible to modify as per above requirements?

 

Regards

vishwa

0 Likes
Message 30 of 117

dani_cs
Advocate
Advocate

Hello  lando7189,

 

I am very interested in a lisp like that. I tried it but I could not run it. My idea is to use blocks (they will be the Viewports of each layout) alligned to a line and when I run the lisp, it will make all layouts with the ucs of all blocks

 

Best regards,

Daniel.

0 Likes
Message 31 of 117

maratovich
Advisor
Advisor

There are several solutions. Watch the video.
Ask a specific question.

Add your example here.

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 32 of 117

dani_cs
Advocate
Advocate

Hello maratovich

 

I have been looking for a routine able to do this many time. I have a road axis and 188 blocks (viewports) allign to it by the mid point. But making all layouts one by one it's a waste of time. So do you know a routine able to make all layouts automatically with the configuration of a template tab, and orientated to the respective UCS viewport?

 

Look at the example and I expect you understand my question. 

Best regards,

Daniel.

0 Likes
Message 33 of 117

ronjonp
Advisor
Advisor

What scale are you working at? 01 >> Scale: 2.0691 >> Twist: 0.0 .. that is an odd scale

0 Likes
Message 34 of 117

ronjonp
Advisor
Advisor

See attached ... made from sample drawing. That drawing has an educational stamp BTW.

0 Likes
Message 35 of 117

dani_cs
Advocate
Advocate

Hello  rperez,

 

Yes I know it's a odd scale. I did it very quickly hehe

0 Likes
Message 36 of 117

dani_cs
Advocate
Advocate

 Hello rperez,

 

I dit it at home with educational autocad, yes.

 

I saw attached, and that's I am looking for. I think you used a lisp or another software, aren't you?

It would be perfect for me.

 

Best regards,

Daniel.

0 Likes
Message 37 of 117

ronjonp
Advisor
Advisor

If you refer to THIS post there is a code base to make these layouts. Then all you have to do is apply the logic from THIS post and you have a solution.

Message 38 of 117

dani_cs
Advocate
Advocate

Hello,

 

I tried it many times and I could not run it. That's the reason I posted on here again. Thanks for your effort.

 

Regards.

0 Likes
Message 39 of 117

Anonymous
Not applicable

Hi

 

 

0 Likes
Message 40 of 117

maratovich
Advisor
Advisor

The decision will be in 2-3 days.

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes