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

Method markup

src/bcf/bcf/v3/topic.py:38–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36
37 @property
38 def markup(self) -> Optional[mdl.Markup]:
39 if not self._markup and self._topic_dir:
40 markup_path = self._topic_dir.joinpath("markup.bcf")
41 if markup_path.exists():
42 self._markup = self._xml_handler.parse(markup_path.read_bytes(), mdl.Markup)
43 return self._markup
44
45 @markup.setter
46 def markup(self, value: mdl.Markup) -> None:

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected