Select to view content in your preferred language

Adding Rules to my Asset Package in Pro 3.5+ for UN Migration

101
4
Jump to solution
yesterday
BrandoCrozier
Occasional Contributor

I am working in Pro 3.6 and I  added the Utility Network Package Tools (untools) from the Package Manager in Pro. So I believe this question applies to 3.5+.

I was of the understanding there would be a tool to help me add rules to my asset package. I had an iteration of Utility Network that needed a few rules added to make everything work. That was all successful. So, now i am trying to add to the "rules" table in the Asset Package (B_Rules). I added them manually, but I believe that made me skip important GUID application. 

I'm struggling to understand how to add these rules to the Asset Package so that my next iteration of a Utility Network will automatically start with the rules I know I need.

0 Kudos
1 Solution

Accepted Solutions
MikeMillerGIS
Esri Frequent Contributor

Do you have all the rules in a built UN?  If so, I would just export the UN to an asset package, then copy the b_rules table from the exported asset package to the source asset package(deleting the b_rules table first).

If not, you can use the rules matrix from the UDMS toolbox:

https://github.com/Esri/Utility-Data-Management-Support-Tools

https://esri.github.io/Utility-Data-Management-Support-Tools/docs/3.5/ExportUtilityNetworkMatrix.htm...

  

View solution in original post

4 Replies
MikeMillerGIS
Esri Frequent Contributor

Do you have all the rules in a built UN?  If so, I would just export the UN to an asset package, then copy the b_rules table from the exported asset package to the source asset package(deleting the b_rules table first).

If not, you can use the rules matrix from the UDMS toolbox:

https://github.com/Esri/Utility-Data-Management-Support-Tools

https://esri.github.io/Utility-Data-Management-Support-Tools/docs/3.5/ExportUtilityNetworkMatrix.htm...

  

BrandoCrozier
Occasional Contributor

Thank you @MikeMillerGIS!!!

That initial copy and replace suggestion worked perfectly. Very smooth process and then I can be very confident that I am passing along what I just saw working. This is great!

0 Kudos
RobertKrisher
Esri Regular Contributor

@BrandoCrozier note, if your original asset package used a D_Rename table to rename asset groups/types then the final asset types in your deployed utility network will be different and you will need to un-rename your asset types in the new rule table.

BrandoCrozier
Occasional Contributor

Thank you for the follow-up. In my case I do not see a D_Rename table in the Original Asset Package.

0 Kudos