I created a Constraint Attribute Rule so that a Sewer Tap (SewerJunction) cannot be placed without snapping it to a Mainline (SewerLine). It works fine if I just place a Tap. I also created a Group Template to generate a Tap at the end of a Sewer Lateral. That works as well. But I cannot get it to enforce the snapping rule when using the Group Template. So if I draw a Lateral and it creates a tap at the end of the line, it doesn't show an error if the line isn't snapped to the mainline. I tried creating another Attribute Rule to enforce the Lateral snapping to the Line without referencing the Tap, but that didn't work either. I tried it with just drawing a Lateral (not using the Group Template) and with drawing the Lateral / Tap Group Template, but neither worked. I've played around with creating a validation Attribute Rule using Arcade to see if the "Intersects" results are null , but without success (I have almost no experience with Arcade). Is there an easier way to enforce snapping in the ArcPro and / or Utility Network environment? Thanks for your assistance.
Solved! Go to Solution.
If you want the rule to be that a tap can only exist between a lateral and a main, try adding edge-junction-edge rules that enforce that then REMOVE all the junction-edge rules for the tap.
If you want the rule to be that a tap can only exist between a lateral and a main, try adding edge-junction-edge rules that enforce that then REMOVE all the junction-edge rules for the tap.
That worked! Thank you. Looks like I will need to do the same for some other rules.