Hello -
I'm probably missing something stupid, but I can't get a Utility Network downstream trace to exclude barriers from the result set. I'm setting the TraceConfiguration IncludeBarriersWithResults to FALSE -- see below. But the results returned always include the barrier features (which happen to be fuses my my use case.) Note that the equipment *below* the barrier *is* excluded, but not the barrier feature(s) themselves.
Any pointers on what I am missing would be much appreciated.
Thx,
Ed
----------------------------------------------------------------------------------------
using (un)
using (UtilityNetworkDefinition utilityNetworkDefinition = un.GetDefinition())
{
using (NetworkSource networkSource = utilityNetworkDefinition.GetNetworkSource("ElectricDevice"))
using (AssetGroup assetGroup = networkSource.GetAssetGroup(agName))
using (AssetType assetType = assetGroup.GetAssetType(atName))
{
DomainNetwork domainNetwork = utilityNetworkDefinition.GetDomainNetwork("Electric");
Tier sourceTier = domainNetwork.GetTier("Electric Distribution");
TraceConfiguration traceConfiguration = sourceTier.GetTraceConfiguration();
traceConfiguration.IncludeStructures = false;
traceConfiguration.IncludeBarriersWithResults = false;
// proceed to get a tracer from the trace manager and execute a downstream trace with the
// above trace configuration