mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 10:33:44 +00:00
import_ifc - skip setup_arrays for annotations #6636
This commit is contained in:
@@ -1145,6 +1145,9 @@ class IfcImporter:
|
|||||||
data = json.loads(data)
|
data = json.loads(data)
|
||||||
for rel in pset.DefinesOccurrence:
|
for rel in pset.DefinesOccurrence:
|
||||||
for element in rel.RelatedObjects:
|
for element in rel.RelatedObjects:
|
||||||
|
if element.is_a("IfcAnnotation"):
|
||||||
|
# IfcAnnotations are not loaded during base import.
|
||||||
|
continue
|
||||||
for i in range(len(data)):
|
for i in range(len(data)):
|
||||||
tool.Blender.Modifier.Array.set_children_lock_state(element, i, True)
|
tool.Blender.Modifier.Array.set_children_lock_state(element, i, True)
|
||||||
tool.Blender.Modifier.Array.constrain_children_to_parent(element)
|
tool.Blender.Modifier.Array.constrain_children_to_parent(element)
|
||||||
|
|||||||
Reference in New Issue
Block a user