How to create automatic layouts

How to create automatic layouts

Anonymous
Not applicable
43,659 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,660 Views
116 Replies
Replies (116)
Message 61 of 117

maratovich
Advisor
Advisor

What result should be?
Show an example.

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

allanthebruce
Advocate
Advocate

Hi There, I cannot figure out why the viewport scales a custom scale I just want it to scale the grid sheet to the view port then it will be 1:100 i used your gridtolayouts lisp file the one you posted with bug fixes. We work in metric. We use multiple sheets all the time, so basically Id like to show what i uploaded,.

Hope this helps and appreciate your response and help. The attached it what Id like for fist and all sheets.

Is there a video I could look at to do this from scratch? and not sure I am using latest lisp...

Thanks so much its appreciated!!!

Allan

0 Likes
Message 63 of 117

allanthebruce
Advocate
Advocate

Hi Simply I want this layout to work and it killing me trying to work it out, just something I am missing....

Going nuts!

Appreciate any help

Cheers

0 Likes
Message 64 of 117

maratovich
Advisor
Advisor

@allanthebruce wrote:

Hi Simply I want this layout to work and it killing me trying to work it out, just something I am missing....

Going nuts!

Appreciate any help

Cheers


 

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

allanthebruce
Advocate
Advocate

All good I have it working now.

0 Likes
Message 66 of 117

maratovich
Advisor
Advisor

What is your question ?
If you are asking why there are 2 viewports -
you must delete the old viewport on TEMP.

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

saifumk8
Advocate
Advocate

Try Auto Layouts App from Autodesk App store: 

This app will help you to create Autodesk® AutoCAD® sheet layouts by automation.

Just prepare the first layout the way you want it and provide inputs like sheet frame height and width, Sheet number, and Viewport. 

https://apps.autodesk.com/ACAD_E/en/Detail/Index?id=8869324049075388295&appLang=en&os=Win32_64

#AutoLayouts

Message 68 of 117

jnksimmons
Explorer
Explorer
Hello! I just downloaded autoviewport. I am trying to do a find and replace. When I hit start an error message pops up stating "CAD sofware is not open! Open CAD program?". I this select yes and another error message pops up stating "Unable open and connect CAD program!". I have autocad open so why am I getting this error?
Message 69 of 117

maratovich
Advisor
Advisor

1. If you have AutoCAD LT, it will not work.
2. Check the top left - AutoCAD and Auto must be selected.

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

jnksimmons
Explorer
Explorer

I have AutoCAD Lite. Is there anything that will work with this version?

Message 71 of 117

maratovich
Advisor
Advisor

Nothing will work.

LT is made specially limited.

Will not work - Lisp, VBA, programs.

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

pendean
Community Legend
Community Legend
@jnksimmons wrote:
>>>..I have AutoCAD Lite....<<<
LT offers no level of automation you find in this forum: all part of the discount pricing you paid for the software.
Message 73 of 117

ronjonp
Advisor
Advisor

@jnksimmons wrote:

I have AutoCAD Lite. Is there anything that will work with this version?


If you don't want to break the bank THIS is reasonably priced and has lisp support.

0 Likes
Message 74 of 117

jnksimmons
Explorer
Explorer

I did not purchase it. It is on my work computer. I really would like to have the full version.

Message 75 of 117

Sea-Haven
Mentor
Mentor

Waiting on some confirmation about Ctab in LT then a excel answer may be able to do it.

Message 76 of 117

Sea-Haven
Mentor
Mentor

Thanks to Steven-g over at Cadtutuor

 

It should be split into lines like this

 

Layout new Layout3
ctab
layout3
Mview 50,50 800,530 mspace zoom c 330,400
scale

 

'Layout3' in the code is a literal name and Autocad is expecting a text item so you have to use a linefeed to mark the end of the 'text'.

This does mean spreading the Excel concatenate formulas over multiple rows. Which makes a lot more work when you are bringing the data into Excel, because you have to have 4 rows of formulas for each row of data. One way around that is to split the concatenate formulas into different columns on a row and then use VBA programing to write out the script into a .scr file and put each column onto a newline.

 

So copy to say column F in excel, column A B C D are the x y values of the boxes so can do the calcs adding spacing, F contains say Layoutname. The scale should be a value.

Message 77 of 117

Anonymous
Not applicable

Hi Sir,

 

Which CAD command we are use to autolayout?  I am unable to find the CAD command in this lisp.

0 Likes
Message 78 of 117

Anonymous
Not applicable
How to run this Lisp? I was loaded this LISP in my CAD but i dono how to proceed further?

Please share me the CAD command and steps.
0 Likes
Message 79 of 117

Anonymous
Not applicable
Hi lanny

How to run this Lisp? I was loaded this LISP in my CAD but i dono how to proceed further?

Please share me the CAD command and steps.
Message 80 of 117

saifumk8
Advocate
Advocate

I recommend you to try Auto Layouts plugin from Autodesk AppStore.

 

https://apps.autodesk.com/ACAD_E/en/Detail/Index?id=8869324049075388295&appLang=en&os=Win32_64