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

Method _save_project

src/bcf/bcf/v2/bcfxml.py:207–210  ·  view source on GitHub ↗
(self, destination_zip: ZipFileInterface)

Source from the content-addressed store, hash-verified

205 self._zip_file = self._load_zip_file()
206
207 def _save_project(self, destination_zip: ZipFileInterface) -> None:
208 self._smart_save_xml(destination_zip, self._project_info, "project.bcfp")
209 if self.extension_schema and self.project_info:
210 destination_zip.writestr(self.project_info.extension_schema, self.extension_schema)
211
212 def _save_version(self, destination_zip: ZipFileInterface) -> None:
213 if not self._version and self._zip_file:

Callers 1

saveMethod · 0.95

Calls 2

_smart_save_xmlMethod · 0.95
writestrMethod · 0.45

Tested by

no test coverage detected