คำสั่งอ่านแก้ไข Entity เส้นต่าง
คำสั่ง
|
อธิบาย
|
CAD.EraseEntity(handle);
|
ลบ วัตถุ เส้น
|
CAD.MoveEntity(handle,x,y,z);
|
ย้าย วัตถุ เส้น ตามค่า x y z
|
CAD.RotateEntity(handle,pt,angle);
|
หมุนวัตถุ โดยมีจุดหมุน pt และมุม angle radius
|
CAD.GetEntityLayer(handle);
|
แสดงค่า Layer ของ วัตถุ
|
CAD.GetEntityName(handle);
|
แสดงชื่อของ วัตถุ
|
CAD.GetEntityLinetype(handle);
|
แสดง Linetype ของ วัตถุ
|
CAD.SetEntityLayer(handle,layer);
|
ตั้งค่า layer ของ วัตถุ
|
CAD.GetEntityProp(handle,name);
|
แสดงค่า คุณสมบัติ ของวัตถุ เช่น Area จะเป็น double เป็นต้น
|
CAD.SetEntityProp(handle,name,value);
|
ตั้งค่า คุณสมบัติที่ตั้งได้ ของ วัตถุ
|
CAD.GetPlineVertexAt(handle,index);
|
แสดงค่า จุดIndex ของ Polyline
|
ความคิดเห็น
แสดงความคิดเห็น