Skip to main content

更新子网 (公共设施网络工具)

汇总

更新指定子网的子网表SubnetLine 要素类子网系统逻辑示意图 中的子网信息。

对于子网表,此工具将关联子网控制器的状态更改为清洁(Is dirty 属性 设置为 False)。 如果在工具运行期间发现验证一致性失败子网错误,则相关子网控制器的状态将被标记为无效(Is dirty 属性设置为无效)。 在 SubnetLine 要素类中,将生成新子网的记录,将删除已删除子网的记录,并更新已修改子网的形状和信息。 还将创建或更新子网要素的某些属性。

如果配置层的更新子网策略 导致不管理 Is dirty 属性,则可以在 Is deleted 属性设置为 true 时,使用更新子网操作从 Subnetworks 表中删除行。

了解有关如何更新子网的详细信息

用法

  • 使用企业级地理数据库时,必须满足以下要求:

    • 公共设施网络必须注册为分支版本

    • 输入公共设施网络必须来自公共设施网络服务。

    • 可以在默认版本中使用更新子网操作,从不管理 Is dirty 属性的层的 Subnetworks 表中删除行。

    • 如果在默认版本上运行此工具,则将就地更新 SubnetLine 要素类的几何、子网名称属性和传播字段。 如果针对指定版本运行此工具,则默认行为(不含事件)将限制对在该版本中编辑的要素和对象的更新。 可以将编辑模式更改为使用事件(含事件)。 此选项将运行地理数据库行为,并且可以针对默认版本和指定版本在子网定义中进行设置。

      了解有关更新子网工具使用的编辑模式的详细信息

    • 每次仅允许使用单个进程更新子网络。 运行多个进程时,切勿选中层中的所有子网参数以运行此工具。 如果两个进程尝试同时更新同一个子网络,则可能导致操作失败。

    • 许可:

      活动门户账户必须分配 ArcGIS Advanced Editing 用户类型扩展模块许可,才能在企业部署中使用此工具。

  • 仅支持将此工具与传统域网络 配合使用。

  • 此工具用于根据已更新子网创建或更新网络逻辑示意图(如果设置子网定义 时已指定逻辑示意图模板)。

  • 运行此工具前,必须保存所有编辑内容。

  • 必须启用 网络拓扑。

  • 不存在与子网要素相交的脏区。

参数

标注 说明 数据类型

输入公共设施网络

包含子网的公共设施网络。

Utility Network; Utility Network Layer

域网络

包含子网的域网络。

String

包含子网的层。

String

层中的所有子网

指定是否更新层中的所有子网。 要更新层中的子网子集,请使用子网名称参数。

  • 选中更新层中的所有子网。 此选项使用异步处理通过系统 UtilityNetworkTools 地理处理服务更新子网。 此服务为公共设施网络地理处理任务而保留,并具有较长的默认超时设置。

  • 未选中仅更新子网名称参数中指定的子网。 这是默认设置。

Boolean

子网名称

(可选)

将从层更新的子网的名称。 如果选中层中的所有子网参数,则将忽略此参数。 当子网表包含层级的 10,000 条或更多记录时,不会填充参数的选择列表,并且会为子网名称提供一个空字段。

String

失败后继续

(可选)

指定如果在更新多个子网时某一子网更新失败,则是否停止更新进程。

  • 选中如果发生子网故障,更新过程不会停止,会继续。

  • 未选中如果发生子网故障,更新过程会停止。 这是默认设置。

Boolean

条件障碍

(可选)

基于与网络属性的比较或对类别字符串的检查,对要素设置可遍历性障碍条件。 条件障碍根据网络属性或类别、操作符、类型及属性值来定义。 例如,当要素的 Device Status 属性等于 Open 的特定值时,将停止追踪。 当要素满足此条件时,追踪将停止。 如果您要使用多个属性,可使用组合方法参数来定义 And 或 Or 条件。

了解有关使用多条件表达式的详细信息

注:

此参数仅可用于 Python。

值表列:

  • NameFilter by network attribute name.

  • OperatorFilter by an operator.

    • Is equal toThe attribute is equal to the value.

    • Does not equalThe attribute is not equal to the value.

    • Is greater thanThe attribute is greater than the value.

    • Is greater than or equal toThe attribute is greater than or equal to the value.

    • Is less thanThe attribute is less than the value.

    • Is less than or equal toThe attribute is less than or equal to the value.

    • Includes the values (bitwise AND equals the value)A bitwise AND operation in which all bits in the value are present in the attribute (bitwise AND == value).

    • Does not include the values (bitwise AND does not equal the value)A bitwise AND operation in which not all of the bits in the value are present in the attribute (bitwise AND != value).

    • Includes any (bitwise AND equals True)A bitwise AND operation in which at least one bit in the value is present in the attribute (bitwise AND == True).

    • Does not include any (bitwise AND equals False)A bitwise AND operation in which none of the bits in the value are present in the attribute (bitwise AND == False).

  • TypeFilter by a specific type.

    • Specific valueFilter by a specific value or network category.

    • Network attributeFilter by a network attribute.

  • ValueFilter by a specific value.

  • Combine UsingUse this parameter to combine multiple condition barriers.

    • AndCombine the condition barriers.

    • OrUse if either condition barrier is met.

Value Table

函数障碍

(可选)

基于函数对要素设置可遍历性障碍。 函数障碍可用于执行以下操作:限制追踪距离起点的行程或设置停止追踪的最大值。 例如,所经过的每条线的长度和为目前经过的总距离。 当经过的总长度达到指定值时,追踪将停止。

注:

此参数仅可用于 Python。

值表列:

  • FunctionFilter by a function.

    • MinThe minimum of the input values will be identified.

    • MaxThe maximum of the input values will be identified.

    • AverageThe average of the input values will be calculated.

    • CountThe number of features will be identified.

    • AddThe sum of the input values will be calculated.

    • SubtractThe difference in the input values will be calculated. Subnetwork controllers and loops trace types do not support the subtract function.

  • AttributeFilter by a network attribute.

  • OperatorFilter by an operator.

    • Is equal toThe attribute is equal to the value.

    • Does not equalThe attribute is not equal to the value.

    • Is greater thanThe attribute is greater than the value.

    • Is greater than or equal toThe attribute is greater than or equal to the value.

    • Is less thanThe attribute is less than the value.

    • Is less than or equal toThe attribute is less than or equal to the value.

    • Includes the values (bitwise AND equals the value)A bitwise AND operation in which all bits in the value are present in the attribute (bitwise AND == value).

    • Does not include the values (bitwise AND does not equal the value)A bitwise AND operation in which not all of the bits in the value are present in the attribute (bitwise AND != value).

    • Includes any (bitwise AND equals True)A bitwise AND operation in which at least one bit in the value is present in the attribute (bitwise AND == True).

    • Does not include any (bitwise AND equals False)A bitwise AND operation in which none of the bits in the value are present in the attribute (bitwise AND == False).

  • ValueFilter by a specific value.

  • Use Local ValuesBoolean value to use local variables instead of a global variable.

Value Table

包括障碍要素

(可选)

指定追踪结果中是否包含可遍历性障碍要素。 即使已在子网定义中进行了预设,可遍历性障碍仍可选。

  • 选中追踪结果中将包含可遍历性障碍。 这是默认设置。

  • 未选中追踪结果中将不会包含可遍历性障碍。

Boolean

应用可遍历性至

(可选)

指定将应用的可遍历性类型。 可遍历性范围用于确定是否在交汇点和/或边处应用可遍历性。 例如,如果定义了一个用于停止追踪的条件障碍,其中 DEVICESTATUS 等于“开路”且遍历范围设置为仅边,则即使遇到开路设备,追踪也不会停止,因为 DEVICESTATUS 仅适用于交汇点。 换言之,此参数会为追踪指明是否要忽略交汇点和/或边。

注:

此参数仅可用于 Python。

  • 交汇点和边可遍历性将同时应用于交汇点和边。 这是默认设置。

  • 仅交汇点可遍历性将仅应用于交汇点。

  • 仅边可遍历性将仅应用于边。

String

传播程序

(可选)

指定要传播的网络属性,以及传播将在传统域网络 的追踪过程中的发生方式。 传播的类属性表示子网控制器上已传播至子网余下要素的关键值。 例如,在配电模型中,您可传播相位值。

注:

此参数仅可用于 Python。

值表列:

  • AttributeFilter by a network attribute.

  • Substitution AttributeThe field that will be used for attribute substitution.

  • FunctionFilter by a function.

  • OperatorFilter by an operator.

  • ValueFilter by a specific value.

Value Table

派生输出

标注 说明 数据类型

更新的公共设施网络

更新的公共设施网络。

Utility Network

环境

此工具不使用任何地理处理环境。

许可信息

  • 基本: 否
  • 标准: 是
  • 高级: 是