MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / _save_viewpoints

Method _save_viewpoints

src/bcf/bcf/v2/topic.py:203–208  ·  view source on GitHub ↗
(self, destination_zip: ZipFileInterface, topic_dir: str)

Source from the content-addressed store, hash-verified

201 self._save_document_references(destination_zip)
202
203 def _save_viewpoints(self, destination_zip: ZipFileInterface, topic_dir: str) -> None:
204 if not self.markup or not (viewpoints := self.markup.viewpoints):
205 return
206 for vpt in viewpoints:
207 if vpt.viewpoint:
208 self.viewpoints[vpt.viewpoint].save(destination_zip, topic_dir, vpt)
209
210 def _save_xml(self, destination_zip: ZipFileInterface, item: Any, target: str) -> None:
211 if self._topic_dir is None:

Callers 1

saveMethod · 0.95

Calls 1

saveMethod · 0.45

Tested by

no test coverage detected