Chuyển đến nội dung
Diễn đàn CADViet
thanhduan2407

[Đã xong] In nhiều bản vẽ trong model mà chỉ cần 1 layout

Các bài được khuyến nghị

Sau mấy ngày làm thử kết quả mình làm nó ra thế này. vẫn ko như ý muốn. Dovananhxd xem giúp mình lỗi chỗ nào nha

file cad:

http://www.cadviet.com/upfiles/3/106444_test.dwg

kết quả in được là thế này" mình đánh thứ tự nó in ra"

http://www.cadviet.com/upfiles/3/106444_kqintest.zip

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

- File cad đời cao làm nhiều người k test được

- Đã test với OnePlot thì in bình thường :) Vướng mỗi chỗ để mặc định thay đổi KHBV nên trường hợp có người k cần thì hơi bất tiện, phải sửa lại th ^^

  • Vote tăng 1

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

Sau mấy ngày làm thử kết quả mình làm nó ra thế này. vẫn ko như ý muốn. Dovananhxd xem giúp mình lỗi chỗ nào nha

file cad:

http://www.cadviet.c...106444_test.dwg

kết quả in được là thế này" mình đánh thứ tự nó in ra"

http://www.cadviet.c...44_kqintest.zip

các file trong file zip là những gì thế, mở thế nào? sao không xuất sang PDF ấy!

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

các file trong file zip là những gì thế, mở thế nào?

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

các file đó là file *.xps mình dùng máy in ảo trong cad để xuất file đó. còn xuất pdf ko được gì luôn.

PS: Mình dùng cad 10. thử cad 11 cũng ko an thua. cad 11 dùng "zz" ko được xíu nữa mình sẽ thử cad9 xem sao

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

http://www.cadviet.c...6444_intest.zip

Mình sửa đuôi file sang jpg ban xem hộ mình nha.

Mình cũng dùng cad2010 mà, vẫn dùng bình thường, vẫn in bình thường mà:

1/ Bạn tải cái pdf pro này về cài dùng làm máy in ảo, in sang pdf:

http://www.mediafire.com/download.php?zvkkm39oa0uib3g

2/ Bạn xem lại bản vẽ mình gửi lại cho đây, thử lại lần nữa xem. chắc bạn nhầm ở bước thực hiện nào đấy thôi:

http://www.cadviet.com/upfiles/3/89140_desktop.rar

3/ Hoặc bạn có thể dùng chương trình OnePlot của bác ketxu cũng được!

Chúc bạn sớm làm được điều mà bạn mong muốn:D

  • Vote tăng 1

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

mình không hiểu chỗ tạo text ấy tạo text để chọn nhưng khi mình đánh lệnh innhanh thì chỉ thao tác được bên trong layuot thôi mà ?

Bạn có thể hướng dẫn cụ thể một tý nữa ko. Mình chậm hiểu lắm :lol:

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

mình không hiểu chỗ tạo text ấy tạo text để chọn nhưng khi mình đánh lệnh innhanh thì chỉ thao tác được bên trong layuot thôi mà ?

Bạn có thể hướng dẫn cụ thể một tý nữa ko. Mình chậm hiểu lắm :lol:

Thì text đó bạn gõ bên layout chứ sao.

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

ừ, tại vì khi mình in ra thì text nó cũng tự chèn vào bên layout mà.

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

Giúp" Bác nào có lisp dán diện tích trực tiếp khi pich vào một hình bất kỳ đã bo trước không cho em xin với. Nếu viết được rõ ràng là : "S = ......m2" thì quá tốt

Bạn tìm kiếm trên diễn đàn ấy, lisp này có rồi thì phải:D

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

Bạn xem giúp o đây có lỗi gì không nhé. Có giống bên bạn thực hiện ko ?Command: ap

APPLOAD innhanh.lsp successfully loaded.

Command:

Command:

Command: innhanh

MSPACE

Already in model space.

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command:

Chon pline PSPACE Regenerating model.

Regenerating layout.

Regenerating model - caching viewports.

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: pan Specify base point or displacement: Specify second point:

Command: _plot Detailed plot configuration? [Yes/No] <No>:

Enter a layout name or [?] <IN>:

Enter a page setup name <>: Enter an output device name or [?] <Microsoft XPS

Document Writer>: Write the plot to a file [Yes/No] <N>: Save changes to page

setup [Yes/No]? <N> Proceed with plot [Yes/No] <Y>: Effective plotting area:

195.67 wide by 280.30 high

Effective plotting area: 195.58 wide by 280.20 high

Plotting viewport 2.

Plotting viewport 1.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: pan Specify base point or displacement: Specify second point:

Command: _plot Detailed plot configuration? [Yes/No] <No>:

Enter a layout name or [?] <IN>:

Enter a page setup name <>: Enter an output device name or [?] <Microsoft XPS

Document Writer>: Write the plot to a file [Yes/No] <N>: Save changes to page

setup [Yes/No]? <N> Proceed with plot [Yes/No] <Y>: Effective plotting area:

195.67 wide by 280.30 high

Effective plotting area: 195.58 wide by 280.20 high

Plotting viewport 2.

Plotting viewport 1.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: pan Specify base point or displacement: Specify second point:

Command: _plot Detailed plot configuration? [Yes/No] <No>:

Enter a layout name or [?] <IN>:

Enter a page setup name <>: Enter an output device name or [?] <Microsoft XPS

Document Writer>: Write the plot to a file [Yes/No] <N>: Save changes to page

setup [Yes/No]? <N> Proceed with plot [Yes/No] <Y>:

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: pan Specify base point or displacement: Specify second point:

Command: _plot Detailed plot configuration? [Yes/No] <No>:

Enter a layout name or [?] <IN>:

Enter a page setup name <>: Enter an output device name or [?] <Microsoft XPS

Document Writer>: Write the plot to a file [Yes/No] <N>: Save changes to page

setup [Yes/No]? <N> Proceed with plot [Yes/No] <Y>:

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: pan Specify base point or displacement: Specify second point:

Command: _plot Detailed plot configuration? [Yes/No] <No>:

Enter a layout name or [?] <IN>:

Enter a page setup name <>: Enter an output device name or [?] <Microsoft XPS

Document Writer>: Write the plot to a file [Yes/No] <N>: Save changes to page

setup [Yes/No]? <N> Proceed with plot [Yes/No] <Y>:

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: pan Specify base point or displacement: Specify second point:

Command: _plot Detailed plot configuration? [Yes/No] <No>:

Enter a layout name or [?] <IN>:

Enter a page setup name <>: Enter an output device name or [?] <Microsoft XPS

Document Writer>: Write the plot to a file [Yes/No] <N>: Save changes to page

setup [Yes/No]? <N> Proceed with plot [Yes/No] <Y>:

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: pan Specify base point or displacement: Specify second point:

Command: _plot Detailed plot configuration? [Yes/No] <No>:

Enter a layout name or [?] <IN>:

Enter a page setup name <>: Enter an output device name or [?] <Microsoft XPS

Document Writer>: Write the plot to a file [Yes/No] <N>: Save changes to page

setup [Yes/No]? <N> Proceed with plot [Yes/No] <Y>:

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: pan Specify base point or displacement: Specify second point:

Command: _plot Detailed plot configuration? [Yes/No] <No>:

Enter a layout name or [?] <IN>:

Enter a page setup name <>: Enter an output device name or [?] <Microsoft XPS

Document Writer>: Write the plot to a file [Yes/No] <N>: Save changes to page

setup [Yes/No]? <N> Proceed with plot [Yes/No] <Y>:

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: pan Specify base point or displacement: Specify second point:

Command: _plot Detailed plot configuration? [Yes/No] <No>:

Enter a layout name or [?] <IN>:

Enter a page setup name <>: Enter an output device name or [?] <Microsoft XPS

Document Writer>: Write the plot to a file [Yes/No] <N>: Save changes to page

setup [Yes/No]? <N> Proceed with plot [Yes/No] <Y>:

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: pan Specify base point or displacement: Specify second point:

Command: _plot Detailed plot configuration? [Yes/No] <No>:

Enter a layout name or [?] <IN>:

Enter a page setup name <>: Enter an output device name or [?] <Microsoft XPS

Document Writer>: Write the plot to a file [Yes/No] <N>: Save changes to page

setup [Yes/No]? <N> Proceed with plot [Yes/No] <Y>:

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: pan Specify base point or displacement: Specify second point:

Command: _plot Detailed plot configuration? [Yes/No] <No>:

Enter a layout name or [?] <IN>:

Enter a page setup name <>: Enter an output device name or [?] <Microsoft XPS

Document Writer>: Write the plot to a file [Yes/No] <N>: Save changes to page

setup [Yes/No]? <N> Proceed with plot [Yes/No] <Y>:

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: pan Specify base point or displacement: Specify second point:

Command: _plot Detailed plot configuration? [Yes/No] <No>:

Enter a layout name or [?] <IN>:

Enter a page setup name <>: Enter an output device name or [?] <Microsoft XPS

Document Writer>: Write the plot to a file [Yes/No] <N>: Save changes to page

setup [Yes/No]? <N> Proceed with plot [Yes/No] <Y>:

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: pan Specify base point or displacement: Specify second point:

Command: _plot Detailed plot configuration? [Yes/No] <No>:

Enter a layout name or [?] <IN>:

Enter a page setup name <>: Enter an output device name or [?] <Microsoft XPS

Document Writer>: Write the plot to a file [Yes/No] <N>: Save changes to page

setup [Yes/No]? <N> Proceed with plot [Yes/No] <Y>:

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: MSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command: PSPACE

Command: INNHANH Unknown command "INNHANH". Press F1 for help.

Command:

Command: *Cancel*

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

Mình nhìn chả hiểu gì cả. Bạn thử load lại bằng lisp này rồi làm tương tự như mình hướng dẫn lại xem có được không nhé: (lệnh là ikn)

http://www.cadviet.com/upfiles/3/89140_ikn.lsp

  • Vote tăng 1

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

Nhờ các bác sửa lại lisp hộ em, chẳng hạn em cần trình bày 2 khung mv trên cùng 1 layout, bên model em cũng có từng đôi 1 các khung in khớp với 2 khung mv bên layout rồi, nội dung của lisp vẫn như trên nhưng lúc chọn điểm thứ nhất, thứ 2 xong sẽ có thêm chọn điểm thứ 3 thứ 4. Như vậy mỗi bản vẽ sẽ in được 2 khung mv. Em cảm ơn mọi người.

Mình đã update thêm mục này với OnePlot, không những 2 mà bao nhiêu cũng được :D

Bạn cần dùng thì có thể download tại đây :

Video :

 

  • Vote tăng 2

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

Nhờ anh Ket chỉnh sửa lại lisp này, nó bị một số lỗi như sau:

1/ Nếu số lượng khung MV trong một bản vẽ lớn hơn 1 thì bước "chọn text ghi Ký hiệu:" thì khi in ra nó sẽ in số khung MV mà nó đếm được cộng lại. Ví dụ, em cần in 3 bản vẽ, mỗi bản vẽ có 4 khung MV, khi in ra thì số thứ tự bản vẽ sẽ là ...04; ...08;...12.

2/ Khi pick chọn đường dẫn thì nó đọc cả đối tượng là text cùng layer. Như vậy khi in ra sẽ lỗi. Ví dụ như trong file test của anh nha, các số 1 đến 9 và các khung bao ngoài các số đó cùng layer Defpoint chẳng hạn, khi in ra sẽ bị lỗi.

Thanks!

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

@DVA : Tks DVA đã test thử. Mà 2 rp của bạn là cách lisp xử lý vấn đề - Không gọi là lỗi nhé :D

1 - OK, mình có thể thêm Option cho việc đánh số bản vẽ theo số khung hoặc đánh số theo số bản in

2 - Đã có khuyến cáo dùng Layer riêng cho khung tên, vì mình đã nói lisp chơi mọi loại đối tượng, kín, hở....

Có khi bạn nào chỉ muốn in toàn Text theo pick chọn cũng được nữa ấy chứ ^^

  • Vote tăng 1

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

Ok! Hiện tại dùng là ổn rồi

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

khi mình dùng acad2007 thì bị lổi:

 

 

Command: ap APPLOAD OPlot v2.VLX successfully loaded.

 

 

Command:

Command:

Command: oplot bad argument type: stringp nil

Command:

 

Bạn xem giúp mình

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

khi mình dùng acad2007 thì bị lổi:

 

 

Command: ap APPLOAD OPlot v2.VLX successfully loaded.

 

 

Command:

Command:

Command: oplot bad argument type: stringp nil

Command:

 

Bạn xem giúp mình

File bạn dùng để thao tác đâu, phiền bạn post lên để mình test :D ? Theo như dòng bạn copy thì nó chưa làm được việc j đã lỗi, gay quá

Chia sẻ bài đăng này


Liên kết tới bài đăng
Chia sẻ trên các trang web khác

Tạo một tài khoản hoặc đăng nhập để nhận xét

Bạn cần phải là một thành viên để lại một bình luận

Tạo tài khoản

Đăng ký một tài khoản mới trong cộng đồng của chúng tôi. Điều đó dễ mà.

Đăng ký tài khoản mới

Đăng nhập

Bạn có sẵn sàng để tạo một tài khoản ? Đăng nhập tại đây.

Đăng nhập ngay

×