mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
Schema compatibility #8230
This commit is contained in:
@@ -111,7 +111,7 @@ class Patcher(ifcpatch.BasePatcher):
|
|||||||
if element.is_a("IfcProject"):
|
if element.is_a("IfcProject"):
|
||||||
proj = self.new.add(element)
|
proj = self.new.add(element)
|
||||||
for ctx in element.RepresentationContexts:
|
for ctx in element.RepresentationContexts:
|
||||||
for coop in ctx.HasCoordinateOperation:
|
for coop in getattr(ctx, 'HasCoordinateOperation', ()):
|
||||||
self.new.add(coop)
|
self.new.add(coop)
|
||||||
return proj
|
return proj
|
||||||
return ifcopenshell.api.project.append_asset(
|
return ifcopenshell.api.project.append_asset(
|
||||||
|
|||||||
Reference in New Issue
Block a user