Lisp for changing the acad.dwt to acadiso.dwt

Lisp for changing the acad.dwt to acadiso.dwt

arshadmirza786
Collaborator Collaborator
2,829件の閲覧回数
6件の返信
メッセージ1/7

Lisp for changing the acad.dwt to acadiso.dwt

arshadmirza786
Collaborator
Collaborator

Pls. refer to my earlier post

 

https://forums.autodesk.com/t5/autocad-2013-2014-2015-2016-2017/how-to-check-the-template-used-for-d...

 

Our primary units are meters for drawings I know for this we have to use acadiso.dwt but some colleagues has used acad.dwt that is for inches (i assume)

1- How we can print the inches for meters (1"=25.4 mm)

2- I need a easy way to change these (100s) dwgs from inches to meter for print on a proper scale

 

 

My request is, Start a new dwg with acadiso.dwt template and copy all model/ layouts in it

 

A lisp that copy all model/ layouts to a new file using acadiso.dwt that will save my labor and may be change all files in a folder I hope any one will help me to write a lisp  and save with same name with some changes

0 件のいいね
2,830件の閲覧回数
6件の返信
返信 (6)
メッセージ2/7

Ruffy85
Collaborator
Collaborator

You work with Autocad or Autocad mechanical?

If my reply was helpful, please give a "Kudo" or click the "Accept as Solution" button below (or both).
0 件のいいね
メッセージ3/7

Ranjit_Singh
Advisor
Advisor

..........................

 

My request is, Start a new dwg with acadiso.dwt template and copy all model/ layouts in it

 

A lisp that copy all model/ layouts to a new file using acadiso.dwt that will save my labor and may be change all files in a folder I hope any one will help me to write a lisp  and save with same name with some changes


I believe LISP can accomplish the part where you want to open acadiso.dwt and then copy all the contents from a drawing's modelspace into the template's modelspace. And it should be able to repeat that process for all the drawings. However, simply copying is not going to change the dimensions, entity sizes etc. Is that the intent?

 

I am not sure I understand the first part How we can print the inches for meters (1"=25.4 mm) Are you talking about scaling the entire drawing by some factor? Please explain a little more.

0 件のいいね
メッセージ4/7

arshadmirza786
Collaborator
Collaborator

Autocad

0 件のいいね
メッセージ5/7

arshadmirza786
Collaborator
Collaborator

yes printing on SCALE is the basic problem

 

here the page A3 size in 390x280 mm is in use and model drawings in inches and we are not getting the print on scale

 

for reference the sample dwgs are again attached

0 件のいいね
メッセージ6/7

Ranjit_Singh
Advisor
Advisor

Try the attached code. Let me know if it does what you need.

 

0 件のいいね
メッセージ7/7

arshadmirza786
Collaborator
Collaborator

Thank you for this effort 

 

This ft2m converts the size from ft to m but in my case my friend has assumed 1 inch = 1 m 

 

I only need the same distances only in ACADISO.dwt 1mm = 1m (no conversion factor be involved

 

I am sure due to this process the I have to redo the Layout Scale / composing but if the all layout tabs may please be shifted to new dwg

0 件のいいね