Select Layer In Layers UI

Example - https://imgur.com/a/bXctIxc
This commit is contained in:
Andrej730
2025-01-27 17:36:48 +05:00
parent 13a182cd95
commit ff4d3adf0b
5 changed files with 26 additions and 0 deletions
@@ -2364,6 +2364,7 @@ class EnableEditingRepresentationItems(bpy.types.Operator, tool.Ifc.Operator):
new.surface_style_id = style.id()
elif inverse.is_a("IfcPresentationLayerAssignment"):
new.layer = inverse.Name or "Unnamed"
new.layer_id = inverse.id()
elif inverse.is_a("IfcShapeRepresentation"):
if inverse.OfShapeAspect:
shape_aspect = inverse.OfShapeAspect[0]