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

Method _save_visinfo

src/bcf/bcf/v2/visinfo.py:149–153  ·  view source on GitHub ↗
(self, bcf_zip: ZipFileInterface, topic_dir: str, vp_name: str)

Source from the content-addressed store, hash-verified

147 bcf_zip.writestr(f"{topic_dir}/{filename}", self.snapshot)
148
149 def _save_visinfo(self, bcf_zip: ZipFileInterface, topic_dir: str, vp_name: str) -> None:
150 bcf_zip.writestr(
151 f"{topic_dir}/{vp_name}",
152 self._xml_handler.serialize(self.visualization_info),
153 )
154
155 def _save_bitmaps(self, bcf_zip: ZipFileInterface, topic_dir: str) -> None:
156 if not self.bitmaps:

Callers 1

saveMethod · 0.95

Calls 2

writestrMethod · 0.45
serializeMethod · 0.45

Tested by

no test coverage detected