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ên | Kiểu | Truy cập | Mô tả |
|---|---|---|---|
base_profile | Profile | Đọc/Ghi | Lấy hoặc đặt hồ sơ cơ bản. |
parent_nodes | List['Node'] | Đọc | Lấy các nút cha. |
parent_node | Optional['Node'] | Đọc/Ghi | Lấy hoặc đặt nút cha. |
excluded | bool | Đọc/Ghi | Lấy hoặc đặt giá trị bị loại trừ. |
scene | `` | Đọc/Ghi | Lấy hoặc đặt cảnh. |
name | str | Đọc/Ghi | Lấy hoặc đặt tên. |
properties | PropertyCollection | Đọc | Lấ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() → BoundingBox | Khô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. |