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

Method __init__

src/bcf/bcf/v2/topic.py:25–36  ·  view source on GitHub ↗
(
        self,
        topic_dir: Optional[zipfile.Path] = None,
        xml_handler: Optional[AbstractXmlParserSerializer] = None,
    )

Source from the content-addressed store, hash-verified

23 """BCF Topic and related objects handler."""
24
25 def __init__(
26 self,
27 topic_dir: Optional[zipfile.Path] = None,
28 xml_handler: Optional[AbstractXmlParserSerializer] = None,
29 ) -> None:
30 self._markup: Optional[mdl.Markup] = None
31 self._viewpoints: Optional[dict[str, VisualizationInfoHandler]] = None
32 self._reference_files: Optional[dict[str, bytes]] = None
33 self._document_references: Optional[dict[str, bytes]] = None
34 self._bim_snippet: Optional[bytes] = None
35 self._xml_handler = xml_handler or XmlParserSerializer()
36 self._topic_dir = topic_dir
37
38 @property
39 def markup(self) -> Optional[mdl.Markup]:

Callers

nothing calls this directly

Calls 1

XmlParserSerializerClass · 0.90

Tested by

no test coverage detected