You are on page 1of 12

Adding Cut and Fill Conditions to a Corridor Assembly

This Skill Builder demonstrates how to use the ConditionalCutOrFill subassembly to build a corridor
assembly that applies different subassemblies depending on the cut or fill condition at a given
station. The conditional subassembly enables you to reduce the number of corridor regions and
assemblies that you have to maintain.
This Skill Builder covers the following topics:

■ Importing a subassembly

■ Examining corridor sections

■ Adding conditional subassemblies to a corridor assembly

■ Applying a meaningful naming convention to subassemblies

■ Adding multiple levels of conditions to a corridor assembly

The ConditionalCutOrFill subassembly, as well as a variety of other specialized corridor subassemblies,


is available exclusively in the Autodesk Subscription Center. The Autodesk Subscription Center is
a password-protected online application where Autodesk Subscription members access program
benefits, downloads, and exclusive community content. For more information about the Autodesk
Subscription program, visit www.autodesk.com/subscription.
The ConditionalCutOrFill subassembly controls the application of subassemblies that are attached
to it. In the following example, three conditions are defined. The subassemblies that are applied
after the shoulder depends on which of the three conditions is met at the current station:

If the condition at the station is... then...

A: Cut add a ditch with specified daylighting


parameters.

B: Fill < 3 meters daylight to the target surface at a specified


slope.

C: Fill > 3 meters add a guardrail, extend the shoulder, and


then daylight to the target surface at a
specified slope.

1
You can define multiple levels of conditions for an assembly. The previous example can be expanded
to specify which subassemblies to apply depending on the resulting daylight from a previous condition:

If the condition at the station is... then...

A1: Cut apply specified benching parameters to


the target surface.

A2: Fill add a berm, and then daylight to the tar-


get surface at a specified slope.

Conditional Subassembly Best Practices


This section outlines best practices for using the ConditionalCutOrFill subassembly. These best practices
are demonstrated in this Skill Builder.

■ Use a descriptive naming convention—Each subassembly should have a specific, meaningful name
to make it easy to identify when you are assigning targets. Meaningful names also help you identify
subassemblies in the Subassemblies collection in Prospector.

■ Use a single daylight link for each condition—If you attach a ConditionalCutOrFill subassembly to
a standard daylight subassembly, you should omit the daylight link in the host subassembly. If the

2
daylight link is included in the host subassembly, then daylight links will be created for both the host
subassembly and the attached subassembly.

Installing the Skill Builder Files


For best results, save the files that are included with this Skill Builder the My Documents\Autodesk\Skill
Builders\Conditional Subassembly folder, creating the Conditional Subassembly folder, and the Skill Builders folder
if it does not exist. Other Skill Builders for AutoCAD Civil 3D should also go into the Skill Builders folder.

Importing the Conditional Subassembly


In this exercise, you will download the ConditionalCutOrFill subassembly from the Autodesk Subscription
Center website, and then import the subassembly into a new tool palette.

1 From the Autodesk Subscription Center website, download the Imperial ConditionalCutOrFill.pkt file to the
My Documents\Autodesk\Skill Builders\Conditional Subassembly folder.
The PKT file contains all the files necessary for the subassembly to work on your computer.

2 In the AutoCAD Civil 3D window, click File menu ➤ Open. Navigate to the My Documents\Autodesk\Skill
Builders\Conditional Subassembly folder. Open Civil3D_2009_SkillBuilder_Conditional_Subassembly.dwg.
This drawing contains an existing ground surface, an alignment, profiles of the existing ground and
proposed finished ground, a corridor, and a corridor assembly. In later exercises, you will modify the
corridor assembly and then examine the results on the corridor.

3 If the Tool Palettes are not visible, on the command line, enter ToolPalettes.

4 In the Civil 3D - Imperial tool palette group, right-click a tool palette tab. Click New Palette.

5 Change the New Palette text to Conditional.

6 Click Corridors menu ➤ Utilities ➤ Import Subassemblies.

7 In the Import Subassemblies dialog box, for Source File, click .

8 In the Select File dialog box, navigate to the My Documents\Autodesk\Skill Builders\Conditional Subassembly
folder. Select the Imperial ConditionalCutOrFill.pkt file. Click Open.

9 In the Import Subassemblies dialog box, select the Catalog Library/My Imported Tools check box. Click
OK.
The ConditionalCutOrFill subassembly is imported to both the Conditional tool palette and the My
Imported Tools tool catalog in Content Browser.

10 Close the Content Browser window.

Examining the Existing Corridor in Section


In this exercise, you will examine how the daylight subassemblies are applied to the corridor model in
section. You will notice stations at which the current daylighting parameters are inappropriate for the site
conditions.

1 Click Corridors menu ➤ View/Edit Corridor Section. In the lower viewport, click the corridor.

2 In the View/Edit Corridor Section Tools toolbar, use the buttons to examine how the
Through Road assembly is applied to at the corridor stations.

Installing the Skill Builder Files | 3


The assembly creates a ditch on either side of the road. At the beginning and end of the corridor,
the cut and fill is relatively consistent on both sides.

You will address two conditions in this Skill Builder:


■ First, the fill condition from stations 0+00 through 1+00 produces a relatively deep fill on the
left side. While the corridor assembly is constructed appropriately for other regions of the
corridor, you will modify the design to use a different approach in this region.

■ Second, notice that from stations 5+00 through 8+00, a much greater amount of material must
be cut from the left side of the corridor. While the Through Road assembly is appropriate for
the majority of the corridor, it is not ideal for these stations.

In the following exercise, you will insert the ConditionalCutOrFill subassembly into the Through
Road assembly, and then specify different parameters to be applied in different fill conditions. You
will address the cut conditions in a later exercise.

3 In the View/Edit Corridor Section Tools toolbar, click to return to station 0+00.

Adding Conditional Subassemblies to the Corridor


Assembly
In this exercise, you will add conditional subassemblies to the corridor assembly. You will specify separate
subassemblies to apply at varying cut and fill conditions.

1 In the Civil 3D - Imperial tool palette, on the Conditional tab, click ConditionalCutOrFill.

2 In the Properties palette, set the following parameters:


■ Side: Left

■ Layout Width: 20.0000’

4
■ Layout Grade: 4.000:1

■ Type: Fill

■ Minimum Distance: 0.0000’

■ Maximum Distance: 5.0000’

NOTE The Layout Width and Layout Grade parameters only affect the appearance of the subassembly in
layout view. These parameters enable you to position the conditional subassembly and subassemblies that
are attached to it, but do not affect the corridor model.

3 In the drawing window, in the top viewport, click the left guardrail to add the ConditionalCutOrFill
subassembly.

4 Add a second ConditionalCutOrFill subassembly to the left guardrail using the following parameters:
■ Side: Left

■ Layout Width: 20.0000’

■ Layout Grade: 1.000:1

■ Type: Fill

■ Minimum Distance: 5.0001’

■ Maximum Distance: 9999.0000’

5 Add a third ConditionalCutOrFill subassembly to the left guardrail using the following parameters:
■ Side: Left

■ Layout Width: 20.0000’

■ Layout Grade: 1.000:1

■ Type: Cut

■ Minimum Distance: 0.0000’

■ Maximum Distance: 9999.0000’

6 Using the Imperial - Daylight tool palette, add a DaylightBench subassembly to the Fill 5.00 : 9999.00
conditional subassembly using the following parameters:
■ Side: Left

■ Cut Slope: 4.000:1

■ Max Cut Height: 5.0000’

■ Fill Slope: 4.000:1

■ Max Fill Height: 5.0000’

■ Bench Width: 6.0000’

■ Bench Slope: -10.000%

Adding Conditional Subassemblies to the Corridor Assembly | 5


7 Press Esc to exit subassembly placement mode.

8 Select the original left ditch subassembly. Right-click. Click Move To. Click the FIll 0.00 : 5.00
conditional subassembly.

9 Select the ditch subassembly that you just moved. Right-click. Click Copy To. Click the Cut 0.00 :
9999.00 conditional subassembly.
When you are finished, the assembly should look like this:

Adjusting Subassembly Properties and Assigning Meaningful


Names
In this exercise, you will adjust the properties of two of the subassemblies, and then assign descriptive
names to each of the subassemblies in the Through Road assembly.
Each subassembly should have a specific, meaningful name to make it easy to identify when you are
assigning targets. Meaningful names also help you identify subassemblies in the Subassemblies collection
in Prospector.

1 In the drawing window, in the top viewport, select the red assembly marker. Right-click. Click
Assembly Properties.

2 In the Assembly Properties dialog box, click the Construction tab.


Notice that the subassemblies that you added to the left side of the assembly display the default
names followed by the side to which they were added. When you build a complex assembly, you
should assign meaningful names to the subassemblies so that you can easily identify them when
setting corridor targets. This is also a good practice when a drawing contains multiple assemblies.
In the following steps, you will give the subassemblies more meaningful names. But first, you will
change a parameter in the ditch subassembly that you copied in the previous exercise.

3 In the Item list, select the DaylightBasin - Left subassembly.

NOTE The Daylight Basin for TR-L subassembly is the original subassembly that you moved in the
previous exercise. Make sure that you select the DaylightBasin - Left subassembly, which should be the
last subassembly in the list.

4 In the Input Values table, change Cut Slope and Fill Slope values to 2.000:1.

5 Repeat Steps 3 and 4 to change the Daylight Basin For TR-L subassembly Cut Slope and Fill Slope
values to 8:000:1.

NOTE The provided values produce a noticeable variation in slope. The slope variation will be obvious
when you examine the results in section.

6 In the Item list, select the ConditionalCutOrFill - Left subassembly. Click it again to highlight the
text. Change the name to COND Fill 0-5 for TR-L.

6
7 Rename the other two ConditionalCutOrFill subassemblies to the following names:
■ ConditionalCutOrFill - Left (1): COND Fill 5-9999 for TR-L

■ ConditionalCutOrFill - Left (2): COND Cut 0-9999 for TR-L

8 Rename the daylight subassemblies to reflect the cut or fill condition to which they apply:
■ DaylightBench - Left: Daylight Bench (Fill) for TR-L

■ Daylight Basin for TR-L: Daylight Basin (Fill) for TR-L

■ DaylightBasin - Left: Daylight Basin (Cut) for TR-L

9 Click OK.

Rebuilding the Corridor and Examining the Results


In this exercise, you will reset the corridor targets, rebuild the corridor, and then examine how the conditional
subassembly affects the corridor model.

1 In Toolspace, on the Prospector tab, expand the Corridors collection. Right-click Corridor - (1). Click
Properties.

2 In the Corridor Properties dialog box, on the Parameters tab, click Set All Targets.

3 In the Target Mapping dialog box, in the Object Name column, click <Click Here To Set All>.

4 In the Pick A Surface dialog box, click Existing Ground.

5 Click OK three times to close the dialog boxes and rebuild the corridor.

6 In the View/Edit Corridor Section Tools toolbar, click to return to station 0+00.
The corridor at station 0+00 is in a relatively deep fill condition. In Adding Conditional Subassemblies
to the Corridor Assembly on page 4, you attached the daylight bench subassembly to the Fill 5.00:
9999.00 conditional subassembly. The fill condition at this station is greater than 5.0001’, so the daylight
bench subassembly is applied.

7 Click six times to advance to station 1+50.


Notice that at station 1+50, the corridor is in a relatively shallow fill condition. You attached the original
daylight basin subassembly to the Fill 0.00 : 9999.00 conditional subassembly. The fill condition at this
station is less than 5.00’, so the daylight basin subassembly is applied. Notice that the daylight slope
is very flat, because you specified an 8.000:1 slope for this condition.

Rebuilding the Corridor and Examining the Results | 7


8 Click two times to advance to station 2+00.
Notice that starting at station 2+00, the corridor is in a cut condition. The daylight basin subassembly
that you attached to the Fill 0.00 : 9999.00 conditional subassembly is applied. Notice that the
daylight slope is much steeper than the daylight slope was in the fill condition. While the same
subassembly is used in both cut and fill conditions, the slope is different because you specified
specific slopes for each condition.

9 Continue using the buttons to examine the cut and fill conditions along the
corridor.
Notice that around station 6+00, the cut condition is still very steep. To correct this condition, you
will add additional cut and fill conditions to the Through Road assembly.

Adding a Second Level of Conditional Subassemblies


In this exercise, you will add an additional level of conditional subassemblies to one of the conditional
subassemblies that you created in Adding Conditional Subassemblies to the Corridor Assembly on page
4.

1 In the top viewport, select the daylight basin subassembly that is attached to the Cut 0.00 : 9999.00
conditional subassembly. Right-click. Click Subassembly Properties.

2 In the Subassembly Properties dialog box, on the Construction tab, for Daylight Link, set the Default
Input Value to Omit Daylight Link. Click OK.
If you attach a ConditionalCutOrFill subassembly to a standard daylight subassembly, you should
omit the daylight link in the host subassembly. If the daylight link is included in the host
subassembly, then daylight links will be created for both the host subassembly and the attached
subassembly.

3 Using the Conditional tool palette, add a ConditionalCutOrFill subassembly to the hinge point on
the daylight basin subassembly using the following parameters:
■ Side: Left

■ Layout Width: 12.0000’

■ Layout Grade: 0.500:1

■ Type: Cut

■ Minimum Distance: 5.0001’

8
■ Maximum Distance: 9999.0000’

4 Add a second ConditionalCutOrFill subassembly to the hinge point on the daylight basin subassembly
using the following parameters:
■ Side: Left

■ Layout Width: 12.0000’

■ Layout Grade: 1.000:1

■ Type: Cut

■ Minimum Distance: 0.0000’

■ Maximum Distance: 5.0000’

5 Add a third ConditionalCutOrFill subassembly to the hinge point on the daylight basin subassembly
using the following parameters:
■ Side: Left

■ Layout Width: 12.0000’

■ Layout Grade: 1.000:1

■ Type: Fill

■ Minimum Distance: 0.0000’

■ Maximum Distance: 9999.0000’

6 Using the Imperial - Generic tool palette, add a LinkWidthAndSlope subassembly to the Cut 5.00 :
9999.00 conditional subassembly using the following parameters:
■ Side: Left

■ Width: 12.0000’

■ Slope: -2.000%

7 Using the Imperial - Structures tool palette, add a RetainWallVertical subassembly to the
LinkWidthAndSlope subassembly using the default parameters.

8 Using the Imperial - Generic tool palette, add a LinkOffsetOnSurface subassembly to the Cut 0.00 : 5.00
conditional subassembly using the following parameters:
■ Offset From Baseline: -60.000’

■ Omit Link: No

Adding a Second Level of Conditional Subassemblies | 9


9 Using the Imperial - Generic tool palette, add a LinkSlopeToSurface subassembly to the Fill 0.00 :
9999.00 conditional subassembly using the following parameters:
■ Side: Left

■ Slope: 4.000%

■ Add Link In: Fill Only

NOTE The Fill 0.00 : 9999.00 conditional subassembly that is attached to the Cut branch of the assembly
will be applied if the daylight basin subassembly were to end in a fill condition.

10 Press Esc to exit subassembly placement mode.


When you are finished, the assembly should look like this:

Naming the Second Level of Conditional Subassemblies


When an assembly has multiple levels of conditions, managing the subassemblies and assigning targets
can become confusing. Applying a consistent, descriptive naming convention to all subassemblies helps
mitigate confusion.

NOTE This exercise is optional. For this Skill Builder, it is not critical that the subassemblies have specific
names. However, it is a good practice to assign meaningful subassembly names when you are working on a
real project.

Using the same steps that you did in Adjusting Subassembly Properties and Assigning Meaningful Names
on page 6, give the subassemblies the following names:

■ ConditionalCutOrFill - Left: COND Cut 0-9999 -- Cut 5-9999 for TR-L

■ ConditionalCutOrFill - Left (3): COND Cut 0-9999 -- Cut 0-5 for TR-L

■ ConditionalCutOrFill - Left (4): COND Fill 0-9999 -- Cut 0-9999 for TR-L

■ LinkWidthAndSlope - Left: Daylight Width Slope (Cut 0-9999 -- Cut 5-9999) for TR-L

■ RetainWallVertical - Left: Retaining Wall (Cut 0-9999 -- Cut 5-9999) for TR-L

■ LinkOffsetOnSurface: Daylight Offset To Surface (Cut 0-9999 -- Cut 0-5) for TR-L

■ LinkSlopeToSurface - Left: Daylight Slope To Surface (Cut 0-9999 -- Fill 0-9999) for TR-L

10
Rebuilding the Corridor and Examining the Results
In this exercise, you will reset the corridor targets, rebuild the corridor, and then examine how the multiple
branches of the conditional subassembly affect the corridor model.

1 In Toolspace, on the Prospector tab, expand the Corridors collection. Right-click Corridor - (1). Click
Properties.

2 In the Corridor Properties dialog box, on the Parameters tab, click Set All Targets.

3 In the Target Mapping dialog box, in the Object Name column, click <Click Here To Set All>.

4 In the Pick A Surface dialog box, click Existing Ground.

5 Click OK three times to close the dialog boxes and rebuild the corridor.

6 In the View/Edit Corridor Section Tools toolbar, click to return to station 0+00.

7 Click eight times to advance to station 2+00.


Starting at station 2+00, the corridor enters a cut condition. At this station, the cut is less than 5.0000’,
so the Daylight Offset To Surface subassembly is applied after the ditch.

8 Click again.
Starting at station 2+25, the cut condition is greater than 5.0001’. As you specified, the Daylight Width
Slope and Retaining Wall subassemblies are applied after the ditch.

9 Continue using the buttons to examine the cut and fill conditions along the corridor.

Further exploration: Apply what you learned to the right-hand side of the corridor assembly. Use different
combinations of daylight subassemblies with the ConditionalCutOrFill subassembly and examine the results.

Validating your Results


If your results are different from those that are described in this Skill Builder, a Completed assembly is
provided. Compare the layout and properties of the Completed assembly to the assembly that you created.

Rebuilding the Corridor and Examining the Results | 11


NOTE In the Completed assembly, numeric values might be displayed in place of the ConditionalCutOrFill
subassemblies’ Cut or Fill text. Also, you might not be able to view the parameters of the ConditionalCutOrFill
subassembly. This happens when the ConditionalCutOrFill subassembly on your computer is saved to a
different path than the path that was used to insert them into the Completed assembly. To correct these
issues, update the path shown in the .NET Assembly Name Parameter to reflect the location to which you
saved the ConditionalCutOrFill subassembly.

Numeric Values in ConditionalCutOrFill Subassemblies


(1015 = Fill, 1016 = Cut)

Properties Palette for ConditionalCutOrFill Subassembly in the Completed Assembly

Autodesk, AutoCAD, AutoCAD Map, and AutoCAD Civil 3D are registered trademarks of Autodesk, Inc., in the USA
and/or other countries. All other brand names, product names, or trademarks belong to their respective holders.
Autodesk reserves the right to alter product offerings and specifications at any time without notice, and is not
responsible for typographical errors that may appear in this document. ©2008 Autodesk, Inc. All rights reserved.

12

You might also like