This subassembly automatically applies various subassemblies, such as widening, curb and gutter, ditching, or daylighting, to an assembly based on whether an offset target is found at the corridor station.
The ConditionalHorizontalTarget subassembly is a conditional subassembly, which is a special type of subassembly. Conditional subassemblies automatically add specified subassemblies to an assembly when certain conditions, which you specify, exist.
For example, when an assembly contains a ConditionalHorizontalTarget subassembly, AutoCAD Civil 3D analyzes the station to determine whether an offset target exists within a specified distance. Depending on the ConditionalHorizontalTarget subassembly parameters, different types of subassemblies are automatically added to the assembly.
To learn more about how to use a conditional subassembly, see the tutorial.
The following illustration shows a corridor assembly section comprised of:
- a left side lane and a right side lane
- four ConditionalHorizontalTarget subassemblies (two on the left side and two on the right side)
- the top left side ConditionalHorizontalTarget subassembly is configured to automatically add a sidewalk subassembly when an offset target is detected.
- the bottom left side ConditionalHorizontalTarget subassembly is configured to automatically add Shoulder and Gradient subassemblies on the left side, when an offset target is not detected.
- similarly, the top right side ConditionalHorizontalTarget subassembly is configured to add a sidewalk subassembly when an offset target is detected, while the bottom right side ConditionalHorizontalTarget subassembly adds Shoulder and Gradient subassemblies on the right side, when an offset target is not detected.
You can add one or multiple ConditionalHorizontalTarget subassemblies to an assembly to create simple or complex conditional behaviors. For example, in the case of the previous example, you can add a set of polylines to the model that show the location of sidewalks. Because the lines stop where driveways cross the sidewalk, the conditional subassembly adds and removes the sidewalk depending on the presence of the sidewalk line. The conditional subassembly eliminates the need to apply a different assembly to the corridor where a sidewalk is not needed.
When you create an assembly using ConditionalHorizontalTarget subassemblies, the assembly construction displayed in the Construction tab of the Assembly Properties dialog box indicates the order in which the subassemblies are processed.
It is important to note the following when using the ConditionalHorizontalTarget subassembly:
- AutoCAD Civil 3D analyzes the location of the station associated with the subassembly relative to the target offset to determine whether the offset is found.
- When an assembly containing ConditionalHorizontalTarget subassemblies is applied to a corridor model, only specific portions of the assembly are applied to any given assembly construction.
- Since the ConditionalHorizontalTarget subassembly uses targets, you must set targets on any ConditionalHorizontalTarget subassemblies before you generate the corridor. If the targets are not set, the subassembly returns Not Found. For more information on setting targets, see in the AutoCAD Civil 3D User’s Guide Help.
- Unlike most other subassemblies, the ConditionalHorizontalTarget subassembly does not create any points, links, or shapes in modeling mode.
This subassembly can be attached to any subassembly or assembly attachment point. Subsequent subassemblies can be attached to the end point of the ConditionalHorizontalTarget subassembly.
Note: All dimensions are in meters or feet unless otherwise noted. All slopes are in run-over-rise form (for example, 4 : 1) unless indicated as a percent slope with a “%” sign.
This section lists the parameters in this subassembly that can be mapped to offset target objects in a drawing. For more information, see in the AutoCAD Civil 3D User’s Guide Help.
| Parameter | Description | Status |
|---|---|---|
| Offset | Alignment, feature line, survey figure or polylines. If the specified offset target is found at the station, then the Found condition is processed. | Optional (if not set, the conditional returns Not Found) |
In layout mode, this subassembly draws a line using the Layout Width and Layout Grade input parameter values. This line represents the location in the assembly where the ConditionalHorizontalTarget subassembly is applied.
Unlike most other subassemblies, the ConditionalHorizontalTarget subassembly does not create any points, links, or shapes in modeling mode.
The following coding diagram shows the points and links that are created in layout mode. No point, link, or shape codes are created for this subassembly in modeling mode.