Skip to content

Commit

Permalink
Cherry-Pick-DYN-7038-Build-In-Packages-Duplicates (#15315) (#15318)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertGlobant20 authored Jun 17, 2024
1 parent 1a830a9 commit 3c0827f
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using Dynamo.Core;
using Dynamo.Graph;
using Dynamo.Graph.Nodes;
using Dynamo.Models;
Expand Down Expand Up @@ -34,6 +35,10 @@ protected NodeModelSearchElementBase(TypeLoadData typeLoadData)
ElementType = ElementTypes.ZeroTouch;
if(typeLoadData.IsPackageMember)
ElementType |= ElementTypes.Packaged;
if(typeLoadData.Assembly.Location.Contains(PathManager.BuiltinPackagesDirectory))
{
ElementType |= ElementTypes.BuiltIn;
}
}
}
}
}

0 comments on commit 3c0827f

Please sign in to comment.