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

Method parse_wbs_xml

src/ifc4d/ifc4d/p62ifc.py:155–164  ·  view source on GitHub ↗
(self, project)

Source from the content-addressed store, hash-verified

153 }
154
155 def parse_wbs_xml(self, project):
156 for wbs in project.findall("pr:WBS", self.ns):
157 self.wbs[wbs.find("pr:ObjectId", self.ns).text] = {
158 "Name": wbs.find("pr:Name", self.ns).text,
159 "Code": wbs.find("pr:Code", self.ns).text,
160 "ParentObjectId": wbs.find("pr:ParentObjectId", self.ns).text,
161 "ifc": None,
162 "rel": None,
163 "activities": [],
164 }
165
166 def parse_activity_xml(self, project):
167 for activity in project.findall("pr:Activity", self.ns):

Callers 1

parse_xmlMethod · 0.95

Calls 1

findMethod · 0.45

Tested by

no test coverage detected