Corridors
Components for breaking a Civil 3D corridor down into its baselines, regions, feature lines, surfaces and properties.
Civil3d Corridor
Civil3d › Corridors · Introduced v1.1.19
Extracts information from a Civil 3D corridor. Feed it a corridor and it breaks the corridor down into its constituent parts: properties, baselines, baseline regions, feature lines and the surfaces it generates, plus a combined mesh of all corridor surfaces for use in Rhino. Use this as the starting point whenever you need to inspect or rebuild a corridor's structure inside Grasshopper.
Inputs
CorridorCivil3d CorridorA Civil3d Corridor
Outputs
The Id of the Corridor.
PropertiesCivil3d Corridor PropertiesCorridor properties (use Corridor Properties component to extract values).
BaselinesCivil3d Corridor BaselineThe baselines of the Corridor.
All Baseline Regions from all Baselines.
Feature LinesCivil3d Corridor Feature LineAll Feature Lines from all Baselines.
SurfacesCivil3d Corridor SurfaceThe surfaces generated by the Corridor.
MeshMeshThe combined corridor surfaces as a Rhino mesh.
Exceptions
| Level | Message | Cause & fix |
|---|---|---|
| Error | No document available | The corridor could not be matched to an open AutoCAD/Civil 3D document. Make sure the source drawing is open. |
| Error | Failed to read Corridor | The referenced corridor could not be read from the drawing, for example if it has been deleted or is invalid. Re-pick the corridor. |
See also
Civil3d Corridor Properties, Civil3d Corridor Baseline, Civil3d Corridor Baseline Region, Civil3d Corridor Feature Line, Civil3d Corridor Surface, Get Civil3d Corridors
Civil3d Corridor Baseline
Civil3d › Corridors · Introduced v1.1.19
Extracts information from a single corridor baseline. A baseline follows an alignment and profile along the corridor; this component reports its name, the alignment and profile it is built from, and the stations where it starts and ends. Use it after splitting a corridor into its baselines.
Inputs
BaselineCivil3d Corridor BaselineA Corridor baseline
Outputs
NameTextThe name of the baseline.
Alignment IdAutoCAD ObjectIdThe Id of the alignment associated with this baseline.
Profile IdAutoCAD ObjectIdThe Id of the profile associated with this baseline.
Start StationNumberThe starting station of the baseline.
End StationNumberThe ending station of the baseline.
See also
Civil3d Corridor, Civil3d Corridor Baseline Region
Civil3d Corridor Baseline Region
Civil3d › Corridors · Introduced v1.1.19
Extracts information from a corridor baseline region. A region is a stretch of a baseline that has a particular assembly applied to it; this component reports the region name, the assembly used, and the start station, end station and length of the region. Use it to understand how an assembly is distributed along a baseline.
Inputs
A Corridor baseline region
Outputs
NameTextThe name of the baseline region.
Assembly NameTextThe name of the assembly applied to this region.
Assembly IdAutoCAD ObjectIdThe Id of the assembly applied to this region.
Start StationNumberThe starting station of the region.
End StationNumberThe ending station of the region.
LengthNumberThe length of the region.
Exceptions
| Level | Message | Cause & fix |
|---|---|---|
| Error | No document available | The region's assembly could not be matched to an open drawing. Make sure the source drawing is open. |
See also
Civil3d Corridor, Civil3d Corridor Baseline
Civil3d Corridor Feature Line
Civil3d › Corridors · Introduced v1.1.19
Extracts information from a corridor feature line. Feature lines trace specific points along a corridor (such as edges of pavement or daylight lines), identified by a point code. This component returns that code and the feature line as a Rhino curve you can use directly in your definition.
Inputs
Feature LineCivil3d Corridor Feature LineA Corridor feature line
Outputs
CodeTextThe point code associated with this feature line.
CurveCurveThe feature line as a Rhino curve.
See also
Civil3d Corridor Properties
Civil3d › Corridors · Introduced v1.1.19
Extracts individual values from a corridor's properties, such as its name, description, code set style and station range. The Name, Description and Code inputs are optional: leaving them empty just reads the current values, while supplying a value writes it back to the corridor in the drawing, letting you rename or re-style a corridor straight from Grasshopper.
Inputs
PropertiesCivil3d Corridor PropertiesCorridor properties from a Civil3d Corridor
NameTextoptionalThe name of the corridor. When set this will update the name of the corridor.
DescriptionTextoptionalThe description of the corridor. When set this will update the description of the corridor.
CodeTextoptionalThe code set style name of the corridor. When set this will update the code of the corridor.
Outputs
NameTextThe name of the corridor.
DescriptionTextThe description of the corridor.
CodeNamed IdThe code of the corridor as a NamedId.
Start ParamNumberThe starting parameter of the corridor.
End ParamNumberThe ending parameter of the corridor.
StyleNamed IdThe style applied to this corridor as a NamedId.
Exceptions
| Level | Message | Cause & fix |
|---|---|---|
| Error | No document available | A new value was supplied but the corridor could not be matched to an open drawing. Open the source drawing before editing properties. |
See also
Civil3d Corridor Surface
Civil3d › Corridors · Introduced v1.1.19
Extracts information from a corridor surface. It returns the surface name, the Id of the TIN surface generated from it, and the surface as a Rhino mesh so you can visualise or further process the corridor's modelled surface in Grasshopper.
Inputs
SurfaceCivil3d Corridor SurfaceA Corridor surface
Outputs
NameTextThe name of the corridor surface.
Surface IdAutoCAD ObjectIdThe Id of the generated TIN surface.
MeshMeshThe surface as a Rhino mesh.
See also
Get Civil3d Corridors
Civil3d › Corridors · Introduced v1.1.19
Gets all corridors from a Civil 3D document. Leave the Document input empty to use the active document, or supply one to target a specific open drawing. The output feeds the Civil3d Corridor component for further breakdown.
Inputs
An AutoCAD Document. If not provided, the active document will be used.
Outputs
CorridorsCivil3d CorridorAll Corridors in the current document.
Menu & behaviour
- Recomputes automatically when relevant objects are added, modified, or erased in the AutoCAD/Civil document.
Exceptions
| Level | Message | Cause & fix |
|---|---|---|
| Error | No active AutoCAD document available | No drawing is open and none was supplied. Open a Civil 3D drawing or connect a Document. |
| Warning | No corridors found in the document | The document contains no corridors. Add a corridor or pick a different document. |