mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +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)
|
||||
for rel in pset.DefinesOccurrence:
|
||||
for element in rel.RelatedObjects:
|
||||
if element.is_a("IfcAnnotation"):
|
||||
# IfcAnnotations are not loaded during base import.
|
||||
continue
|
||||
for i in range(len(data)):
|
||||
tool.Blender.Modifier.Array.set_children_lock_state(element, i, True)
|
||||
tool.Blender.Modifier.Array.constrain_children_to_parent(element)
|
||||
|
||||
Reference in New Issue
Block a user