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

Method version

src/bcf/bcf/v3/bcfxml.py:52–60  ·  view source on GitHub ↗

Bcf Version.

(self)

Source from the content-addressed store, hash-verified

50
51 @property
52 def version(self) -> mdl.Version:
53 """Bcf Version."""
54 if not self._version:
55 self._version = (
56 self._xml_handler.parse(self._zip_file.read("bcf.version"), mdl.Version)
57 if self._zip_file
58 else mdl.Version(version_id="3.0")
59 )
60 return self._version
61
62 @version.setter
63 def version(self, value: mdl.Version) -> None:

Callers

nothing calls this directly

Calls 3

VersionMethod · 0.80
parseMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected