Group

ภาพรวม

คลาส Group อยู่ใน Aspose.3D FOSS สำหรับ Python. สืบทอดจาก: A3DObject.

Group แสดงความสัมพันธ์เชิงตรรกะของ Node.

คลาสนี้ประกาศ 5 เมธอดสำหรับอ็อบเจ็กต์ Group ในโปรแกรม Python. เมธอดที่ใช้ได้รวมถึง: __init__, find_property, get_property, remove_property, set_property. สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้โดยแอปพลิเคชัน Python ใด ๆ หลังจากติดตั้งแพคเกจ Aspose.3D FOSS สำหรับ Python. คุณสมบัติ: groups, name, nodes, parent, properties.

คุณสมบัติ

ชื่อประเภทการเข้าถึงคำอธิบาย
parent'Group'อ่านกลุ่มแม่ของกลุ่มปัจจุบัน.
groups``อ่านกลุ่มย่อย.
nodes``อ่านโหนดในกลุ่มนี้.
namestrอ่าน/เขียนรับหรือกำหนดชื่อ.
propertiesPropertyCollectionอ่านรับคุณสมบัติ.

วิธีการ

ลายเซ็นคำอธิบาย
__init__(name: str)Calls init(name) บนอินสแตนซ์ Group นี้.
find_property(property_name: str)เรียก find_property(property_name) บนอินสแตนซ์ Group นี้.
get_property(property: str)เรียก get_property(property) บนอินสแตนซ์ Group นี้.
set_property(property: str, value)ตั้งค่าคุณสมบัติ.
remove_property(property)เรียก remove_property(property) บนอินสแตนซ์ Group นี้.

ดูเพิ่มเติม

 ภาษาไทย