Add a viewpoint pointed at the placement of an IFC element to the topic. Args: element: The IFC element.
(self, element: entity_instance)
| 244 | destination_zip.writestr(real_path.at, self.document_references[doc.referenced_document]) |
| 245 | |
| 246 | def add_viewpoint(self, element: entity_instance) -> VisualizationInfoHandler: |
| 247 | """Add a viewpoint pointed at the placement of an IFC element to the topic. |
| 248 | |
| 249 | Args: |
| 250 | element: The IFC element. |
| 251 | """ |
| 252 | new_viewpoint = VisualizationInfoHandler.create_new(element, self._xml_handler) |
| 253 | self.add_visinfo_handler(new_viewpoint) |
| 254 | return new_viewpoint |
| 255 | |
| 256 | def add_viewpoint_from_point_and_guids( |
| 257 | self, position: NDArray[np.float64], *guids: str |
no test coverage detected