@poonyotha: วิธี plot ไฟล์ Autocad หลายๆหน้าด้วย autolisp prompt ใน comment ครับ

ปูนโยธา
ปูนโยธา
Open In TikTok:
Region: TH
Sunday 05 July 2026 13:25:10 GMT
43151
2745
12
470

Music

Download

Comments

poonyotha
ปูนโยธา :
Act as a senior AutoCAD AutoLISP developer. Write one portable .lsp named PlotRectangles.lsp for AutoCAD Windows/Mac. Goal: command PLOTRECTANGLES auto-plots every closed 4-vertex LWPOLYLINE rectangle on layer print to PDF pages. Implement directly, no research needed. Use this schema: - PR:collect-frames: ssget "_X" filter (0 . "LWPOLYLINE"), layer print, closed flag, vertex count = 4. - PR:rect-window: get min/max XY from group code 10 vertices. - PR:find-label: find TEXT,MTEXT,ATTRIB inside rectangle on layer name; use text as filename/page label. - PR:safe-name: remove invalid filename chars :"/\|?*, trim spaces, max 80 chars. - PR:sort-frames: sort top-to-bottom by Y, then left-to-right by X, with row tolerance. - PR:ask-config: prompt user for output folder, PDF device, paper size, orientation, plot style; provide safe defaults, no hard-coded user paths. - PR:plot-frame: call command-line _.-PLOT with Window plot area using rectangle p1/p2, fit to paper, center plot, plot styles optional. - Main loop: for each sorted rectangle, plot to 0001_label.pdf, 0002_label.pdf, etc. - Must restore sysvars using unwind-protect or error handler: CMDECHO, FILEDIA, BACKGROUNDPLOT. - Must work with / and \ paths using helper PR:join-path. - Do not depend on Python, AppleScript, external PDF tools, or fixed PC paths. - If PDF merge is not safely available cross-platform, skip merge and output separate numbered PDFs. - Add commands PLOTRECTANGLES and alias PR. - Print clear progress and final output folder.
2026-07-05 13:25:39
7
mklovepoon
Mk 龙 ธี :
ประหยัดเวลาเยอะเลยขอบคุณครับ🙏🙏
2026-08-01 16:04:43
0
blueguy0047
Mr.Buleguy :
ปรกติใน autocad กับ gstar ก็มีคำสั่งอยู่นิครับ publish สำหรับ plot ในหน้า layer ส่วน bp สำหรับ plot ในหน้าโมเดล 😅
2026-07-12 10:58:09
1
aynarasx
คุณหยก 🦋 :
อันนี้ในกรณีจัดชีทใน model ใช่มั้ยคะ ถ้าจัดชีทในหน้า layout ใช้ publish ได้เหมือนกันถูกมั้ยคะ
2026-07-19 03:44:32
1
tatump_indieman
TaTump :
ขอบพระคุณมากครับ
2026-07-05 14:07:58
1
joey.7.8.9
พี่โจอี้ ขาาาาาาาาาาาาาาาาา :
ขอวิธี mirror แบบ ที่เดียว หลายหน้า แบบที่กรอบ ตัวหนังสือ เหมือนเดิม หน่อยครับ
2026-07-07 11:49:54
0
mblack2365
MBlack2365🇹🇭 :
ขอบคุณเทคนิคดีๆครับ👍👍
2026-07-06 01:30:50
0
suvijak_engr
Suvijak Engr :
ขอ export to dwg จาก layout พร้อมๆกันทั้งหมดได้ไหมครับ
2026-07-06 02:08:07
0
tdel
TDEL23 :
ผมพิมคำสั่งแล้ว plot ออกมาเป็นหน้าเดียวแก้ยังไงครับ
2026-07-07 02:30:58
0
bowiiz_somruedee
Bowii swiiz :
😂😂😂
2026-07-05 14:26:43
0
To see more videos from user @poonyotha, please go to the Tikwm homepage.

Other Videos


About