แสดงบทความที่มีป้ายกำกับ AutoCAD2012 แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ AutoCAD2012 แสดงบทความทั้งหมด

Overkill การลบเส้นที่ทับซ้อนกัน





Overkill การลบเส้นที่ทับซ้อนกัน Delete Dupicate Object
การเขียนเส้นที่เยอะๆมีโอกาสที่เส้นจะทับซ้อนกันมีมาก ไม่ว่าจะเป็นเส้นตรง เส้นโค้งหรือเส้นต่อเนื่อง
และยังรวมถึงตัวอักษรที่ซ้ำกันอีกด้วย (กรณีก็อปปี้มาวางแล้วทับกันที่ตำแหน่งเดิม)
ยิ่งเส้นมีมากขนาดของไฟล์ที่ใช้งานก็จะมากตามไปด้วย

คำสั่งนี้มีมาตั้งแต่ version 2010 โดยมาในรูปของชุดคำสั่งเสริม AutoCAD Express Tool 
และพัฒนามาใน version 2012 เป็นคำสั่งใน AutoCAD เป็นคำสั่งที่น่าใช้อีกหนึ่งครับ

การใช้งาน เลือกจากเมนูที่  Modify / Delete Duplicate Objects
หรือพิมพ์คำสั่ง overkill ที่ Command line : OVERKILL
แล้วเลือกวัตถุ





จากนั้นจะปรากฎ Dialog box : Delete Duplicate Object



ถ้าไม่ต้องกำหนดเงื่อนไขก็ไม่ต้องคิดเยอะกด OK ไปเลย

Exsample :
Command: _overkill
Select objects: all
27 found
3 were not in current space.

Select objects:
1 duplicate(s) deleted
6 overlapping object(s) or segment(s) deleted


Removes duplicate or overlapping lines, arcs, and polylines. Also, combines partially overlapping or contiguous ones.
Deletes duplicate objects from the drawing area or the block editor.
Removes redundant geometry:
  • Duplicate copies of objects are deleted
  • Arcs drawn over portions of circles are deleted
  • Lines, partially overlapping, drawn at the same angle are combined into a single line
  • Duplicate line or arc segments overlapping polyline segments are deleted

เมื่อ Dialog Box ของ Hatch หาย

Dialog Box ของ Hatch หาย(ไปไหน)



AutoCAD 2012

แล้ววันนี้ก็มีปัญหา AutoCAD จากน้อง69 ถามมาว่า ใช้ AutoCAD 2012 เวลาใช้คำสั่ง Hatch แล้วไม่มี Dialog box ขึ้นมาให้ใช้ จะต้องทำยังไงให้มันออกมาครับ

ปกติจะขึ้น dialog นี้มาให้ครับ


แต่เดิมที่จะมี dialog box เข้ามาช่วยให้การทำงานสะดวกขึ้น คำสั่งมักจะเป็นคำสั่ง command line ทั้งนั้นครับ โดยมากแล้ว AutoCAD มักจะใช้ค่าตัวแปรเป็นตัวคุมระบบปิดเปิดฟังก์ชั่นต่างๆ ซึ่งสามารถเข้าไปดูได้โดยพิมพ์ Setvar แล้วเลือกที่ * เพื่อดูค่าทั้งหมด

แต่ขึ้นแบบนี้มาแทน

ในกรณีนี้ที่ใช้คำสั่ง Hatch หรือ Bhatch แล้วไม่ขึ้น Dialog box ขึ้นมา ก็เหมือนกับการใช้คำสั่ง -Bhatch หรือ -Hatch นั้นแหล่ะครับ ( เครื่องหมาย - นำหน้าคำสั่ง จะเป็นการใช้คำสั่งแบบ Command line โดยจะไม่ไปเปิด Dialog box ขึ้นมาใช้ครับ )

มาเข้าเรื่องครับ ในคำสั่ง HATCH หรือ BHATCH ใน AutoCAD 2012 ตัวแปรที่ควบคุมก็คือ HPDLGMODE ครับ น่าจะเป็น HATCH PATTERN DIALOG MODE เดาเล่นๆเผื่อจะจำกันได้ง่ายขึ้น

ใช้ง่ายโดยพิมพ์คำสั่งลงไปที่ Command line เลย แล้วให้ค่าเป็น 1 ถ้าเป็น 0 ก็คือปิดครับ

Command: HPDLGMODE
Enter new value for HPDLGMODE <0>:  1        ให้ใส่ค่าเป็น 1 ครับแล้ว Enter

0
Hatch and Gradient dialog box is not displayed for HATCH and GRADIENT unless Settings is entered at the Command prompt
1
Hatch and Gradient dialog box is displayed for HATCH and GRADIENT
2Hatch and Gradient dialog box is not displayed for HATCH and GRADIENT when the ribbon is active (RIBBONSTATE = 1). When the ribbon is inactive (RIBBONSTATE = 0), the Hatch and Gradient dialog box is displayed.






ไว้จะทำรูปมาลงประกอบนะครับ ....ทำมาให้แล้วครับ 

คลังบทความของบล็อก