Select to view content in your preferred language

Utility Network Package toolbox 3.3 release notes

656
4
05-07-2024 04:03 PM

Utility Network Package toolbox 3.3 release notes

The 3.3 release of untools contains the fixes from untools 3.2.0. For more information, see the 3.2 release notes.

 

untools 3.3.1 - July 2024

  • Apply Asset Package
    • Support for Utility Network 6 & 7
    • Expose options (untools.common.settings) for custom precision/scale on single/double fields
    • Resolved issue where standalone tables would not be created in the target workspace
  • Stage Utility Network & Asset Package to Geodatabase
    • Add new parameter to choose the Utility Network version to create (6 or 7)

 

untools 3.3.0 - May 2024

  • Add support for Utility Network version 7

    • Big Integer network attributes
    • Flow Direction network attribute
  • Apply Asset Package

    • Expose extent environment variable (in Asset Package to Geodatabase)
    • Skip tiers whose valid controllers are completely removed by D_Configurations table
    • Add support for terminal paths when there are 5 or more terminals
    • Skip feature classes removed by D_Configurations table
    • Support Data Reviewer attribute rules across tables
    • Improve support for Date network attributes
    • Validate contingent values on tables without subtypes
  • Upgrade Asset Package

    • Assign missing asset package domains to existing fields
  • Miscellaneous

    • Cleanup locks from arcpy cursors
    • Remove extraneous console logger
Comments
IvanDImitrov
New Contributor II

Hi, Paul! 
Thanks for the good news!
Did the team updated the annoying error, that 3.2.- give:

ArcGIS Pro 3.2.2.49743
untools 3.2.0
Executing from ArcGIS Pro, 0 map(s), activeMap = False
Parallel processing enabled: 6

C:\UN_V2_2\ZERO\AP_Workspace0\xml\ElectricLine_2_EditorTracking-AttributeRules.xml:255
ERROR 002717: Invalid Arcade expression, Arcade error: Table not found LineTypeLib, Script line: 1 [LineTypeLib]
WARNING 000952: Failed to execute (AddAttributeRule).
C:\UN_V2_2\ZERO\AP_Workspace0\xml\ElectricLine_2_EditorTracking-AttributeRules.xml:288
ERROR 002717: Invalid Arcade expression, Arcade error: Table not found LineTypeLib, Script line: 1 [LineTypeLib]
WARNING 000952: Failed to execute (AddAttributeRule).
C:\UN_V2_2\ZERO\AP_Workspace0\xml\ElectricLine_2_EditorTracking-AttributeRules.xml:321
ERROR 002717: Invalid Arcade expression, Arcade error: Table not found LineTypeLib, Script line: 2 [LineTypeLib]
WARNING 000952: Failed to execute (AddAttributeRule).
C:\UN_V2_2\ZERO\AP_Workspace0\xml\ElectricLine_2_EditorTracking-AttributeRules.xml:364
ERROR 002717: Invalid Arcade expression, Arcade error: Table not found LineTypeLib, Script line: 2 [LineTypeLib]
WARNING 000952: Failed to execute (AddAttributeRule).
Failed script Apply Asset Package...
Failed to execute (AssetPackageToUtilityNetwork).

I think the XML is not correctly build here:

return new_id</expression>
            <triggering_events_insert>True</triggering_events_insert>
            <triggering_events_delete>False</triggering_events_delete>
            <triggering_events_update>True</triggering_events_update>
            <exclude_from_client_eval>True</exclude_from_client_eval>
            <is_editable>True</is_editable>
            <batch>False</batch>
        </AddAttributeRule>
    </workflow>
    <workflow>
        <AddAttributeRule>
            <rule_name>OperatingVoltage</rule_name>
            <rule_type>CALCULATION</rule_type>
            <rule_description>Fetch operating voltage</rule_description>
            <field_name>maxvoltage</field_name>
            <expression>var lookups = FeatureSetByName($datastore, 'LineTypeLib', ['*'], false);

No way the tool to recognise $datastore for a .gdb variant of the tool execution....
 
 
 
 
 
PaulLeBlanc1
Esri Regular Contributor

@IvanDImitrovI am not aware of any issues in this area. This is valid arcade.

FeatureSetByName($datastore, 'LineTypeLib', ['*'], false)

If there isn't a table called LineTypeLib then the runtime error is expected.

IvanDImitrov
New Contributor II

@PaulLeBlanc1 Exactly!
The table is there - it is present and the name is correct (in the Asset Package).
Even this, the tool crashed

 

rlyding
New Contributor III

@PaulLeBlanc1 I was hoping you could maybe answer a question on had on the Upgrade Asset Package Tool. I have a post in UN section I linked below. Trying to figure out when the upgrade tool would need to be run and what impact it has on the asset pack.

https://community.esri.com/t5/arcgis-utility-network-questions/question-on-upgrade-asset-package-too...

Thanks!

Version history
Last update:
yesterday
Updated by:
Contributors