CreateAlongPointToFeature

Title  Create Along Point To Feature

Description

An attribute rule that provides an editor template like experience for creating features from the placed location, along a line to the closet line or point(such as service connection or lateral line, or extending a sewer main from a manhole).

Usage

          
This tools adds an attribute rule, field/domain to the Edit Layer.

To Trigger the rule, change the value of the DynamicValue field to Create Laterals.  This can be set on the edit template to trigger it on insert.

The DynamicValue domain contains a list of values that control these edit template style attribute rules.  Each entry should be a power of 2, which will allow for combinations of edit events.  Note: This is the only rule at this time that uses this behavior, but is designed for future rules.

The rule is configured by a group template on the Edit Layer.  The group template is used to define the features, their location and properties of the features added.

The default attributes of the group template and the class are used in the rule to determine which template properties to use.  The Attribute Rule does not have the information about which template triggered the event, so we are using the attributes to determine which group template definition to use.  If you have group templates that are similar, specify the more descriptive or the ones with more attributes first.

The group template must be created on a point layer.  The create points and a line, you must set the template, on the template dialog, to Line Tools.  This will allow you draw a line to place points along it and place the location of lateral line.

The builder(point at end of line, point at beginning of line) of the assigned to layer is used determine the digitized direction of line.

To create points along the line, use builders point at end/beginning of line with a distance or proportional value.

To connect the assets via an association and not a line, check the "Add associations when creating new assets" in the associations section of the group template.

Note: This tool can only be run using layers from a map.

License

Standard

Toolset

Edit Templates

Syntax

CreateAlongPointToFeature (in_table, out_folder, group_template, {where_clause})

Parameter Explanation Data Type
in_table Dialog Reference

The table or feature class that will have the new rule applied.

GPFeatureLayer
out_folder Dialog Reference

The folder where the output CSV will be saved. The name of the file is taken from in_table.

DEFolder
group_template Dialog Reference

The list of group templates to store in the attribute rule that define the features placement.

GPValueTable
where_clause (Optional) Dialog Reference

SQL Expression to filter records. Only records that satisfy the query will be calculated.

GPSQLExpression

Code Samples