MirroredProfile

MirroredProfile

Tổng quan

MirroredProfile là một lớp trong Aspose.3D FOSS cho Python. Kế thừa từ: Profile.

Hồ sơ gương tương thích IFC.

Lớp này khai báo 8 phương thức cho các đối tượng MirroredProfile trong các chương trình Python. Các phương thức khả dụng bao gồm: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_property, remove_property, set_property. Tất cả các thành viên công khai đều có thể truy cập bởi bất kỳ ứng dụng Python nào sau khi cài đặt gói Aspose.3D FOSS cho Python. Thuộc tính: base_profile, excluded, name, parent_node, parent_nodes, properties, và 1 mục nữa.

Thuộc tính

TênKiểuTruy cậpMô tả
base_profileProfileĐọc/GhiLấy hoặc đặt hồ sơ cơ bản.
parent_nodesList['Node']ĐọcLấy các nút cha.
parent_nodeOptional['Node']Đọc/GhiLấy hoặc đặt nút cha.
excludedboolĐọc/GhiLấy hoặc đặt giá trị bị loại trừ.
scene``Đọc/GhiLấy hoặc đặt cảnh.
namestrĐọc/GhiLấy hoặc đặt tên.
propertiesPropertyCollectionĐọcLấy các thuộc tính.

Phương thức

Chữ kýMô tả
__init__(base_profile: Profile)Calls init(base_profile) trên phiên bản MirroredProfile này.
__init__(name: str)Calls init(name) trên instance MirroredProfile này.
get_entity_renderer_key()Trả về khóa renderer của thực thể.
get_bounding_box() → BoundingBoxKhông được triển khai trong phiên bản FOSS — ném ra lỗi khi chạy. Trả về hộp bao.
find_property(property_name: str)Gọi find_property(property_name) trên instance MirroredProfile này.
get_property(property: str)Gọi get_property(property) trên đối tượng MirroredProfile này.
set_property(property: str, value)Đặt giá trị thuộc tính.
remove_property(property)Gọi remove_property(property) trên đối tượng MirroredProfile này.

Xem thêm

 Tiếng Việt