refactor(demos): follow the Asmb.DescendantAnchors rename

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-09-16 18:33:49 +08:00
co-authored by Claude Fable 5.1
parent 7acf47e02b
commit f3d681ba6b
+3 -3
View File
@@ -105,9 +105,9 @@ public class MachiningProjectDisplayee : IDisplayee, IGetAnchor
List<IAnchoredDisplayee> machAncDisplayees = List<IAnchoredDisplayee> machAncDisplayees =
machiningEquipment.GetAnchoredDisplayeeList() ?? []; machiningEquipment.GetAnchoredDisplayeeList() ?? [];
HashSet<Anchor> exclusiveAnchorSet = new([ HashSet<Anchor> exclusiveAnchorSet = new([
.. workpiece?.Asmb.GetDescendantAnchors()??[], .. workpiece?.Asmb.DescendantAnchors()??[],
.. machiningEquipment.MachiningTool?.GetAsmb().GetDescendantAnchors()??[], .. machiningEquipment.MachiningTool?.GetAsmb().DescendantAnchors()??[],
.. machiningEquipment.Fixture?.Asmb.GetDescendantAnchors()??[], .. machiningEquipment.Fixture?.Asmb.DescendantAnchors()??[],
]); ]);
dst.AddRange(machAncDisplayees.Where(ad => dst.AddRange(machAncDisplayees.Where(ad =>
!exclusiveAnchorSet.Contains(ad.GetAnchor()))); !exclusiveAnchorSet.Contains(ad.GetAnchor())));