refactor(demos): follow the Asmb.DescendantAnchors rename
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -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())));
|
||||||
|
|||||||
Reference in New Issue
Block a user