MirroredProfile

MirroredProfile

ภาพรวม

MirroredProfile เป็นคลาสใน Aspose.3D FOSS สำหรับ Python. สืบทอดจาก: Profile.

โปรไฟล์มิเรอร์ที่เข้ากันได้กับ IFC.

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

คุณสมบัติ

ชื่อประเภทการเข้าถึงคำอธิบาย
base_profileProfileอ่าน/เขียนรับหรือกำหนดโปรไฟล์ฐาน.
parent_nodesList['Node']อ่านรับโหนดแม่.
parent_nodeOptional['Node']อ่าน/เขียนรับหรือกำหนดโหนดแม่.
excludedboolอ่าน/เขียนรับหรือกำหนดค่า excluded.
scene``อ่าน/เขียนรับหรือกำหนดฉาก.
namestrอ่าน/เขียนรับหรือกำหนดชื่อ.
propertiesPropertyCollectionอ่านดึงคุณสมบัติ.

วิธีการ

ลายเซ็นคำอธิบาย
__init__(base_profile: Profile)Calls init(base_profile) บนอินสแตนซ์ MirroredProfile นี้.
__init__(name: str)Calls init(name) บนอินสแตนซ์ MirroredProfile นี้.
get_entity_renderer_key()คืนคีย์ของเรนเดอร์เอนทิตี.
get_bounding_box() → BoundingBoxไม่ได้ทำในเวอร์ชัน FOSS — โยนข้อยกเว้นขณะรันไทม์. คืนค่ากล่องขอบเขต.
find_property(property_name: str)เรียก find_property(property_name) บนอินสแตนซ์ MirroredProfile นี้.
get_property(property: str)เรียก get_property(property) บนอินสแตนซ์ MirroredProfile นี้.
set_property(property: str, value)ตั้งค่าคุณสมบัติ.
remove_property(property)เรียก remove_property(property) บนอินสแตนซ์ MirroredProfile นี้.

ดูเพิ่มเติม

 ภาษาไทย