Settings |
The SettingsCorridor type exposes the following members.
| Name | Description | |
|---|---|---|
| Acceleration |
Gets the Acceleration settings
(Inherited from SettingsAmbient) | |
| Angle |
The Angle settings
(Inherited from SettingsAmbient) | |
| Area |
The Area settings
(Inherited from SettingsAmbient) | |
| Coordinate |
The Coordinate settings
(Inherited from SettingsAmbient) | |
| DegreeOfCurvature |
Gets the DegreeOfCurvature settings
(Inherited from SettingsAmbient) | |
| Dimension |
The Dimension settings
(Inherited from SettingsAmbient) | |
| Direction |
The Direction settings
(Inherited from SettingsAmbient) | |
| Distance |
The Distance settings
(Inherited from SettingsAmbient) | |
| Elevation |
The Elevation settings
(Inherited from SettingsAmbient) | |
| General |
The General settings
(Inherited from SettingsAmbient) | |
| Grade |
Gets the Grade settings
(Inherited from SettingsAmbient) | |
| GradeSlope |
Gets the GradeSlope settings
(Inherited from SettingsAmbient) | |
| GridCoordinate |
Gets the GridCoordinate settings
(Inherited from SettingsAmbient) | |
| Labeling |
Gets the Labeling settings
(Inherited from SettingsAmbient) | |
| LatLong |
Gets the LatLong settings
(Inherited from SettingsAmbient) | |
| NameFormat | settings to specify the default name formats for corridors and corridor surfaces, as well as for alignments and profiles from feature lines. | |
| Pressure |
Gets the Pressure settings
(Inherited from SettingsAmbient) | |
| RegionHighlightGraphics | Settings corridor highlight region graphics. | |
| Slope |
Gets the Slope settings
(Inherited from SettingsAmbient) | |
| Speed |
Gets the Speed settings
(Inherited from SettingsAmbient) | |
| Station |
Gets the Station settings
(Inherited from SettingsAmbient) | |
| Styles | Settings to establish the default styles assigned to corridor components. | |
| Time |
The Time settings
(Inherited from SettingsAmbient) | |
| TransparentCommands |
Gets the TransparentCommands settings
(Inherited from SettingsAmbient) | |
| Unitless |
The Unitless settings
(Inherited from SettingsAmbient) | |
| Volume |
Gets the Volume settings
(Inherited from SettingsAmbient) |
1// Get the Corridor ambient settings root object 2CivilDocument doc = CivilApplication.ActiveDocument; 3Editor ed = Application.DocumentManager.MdiActiveDocument.Editor; 4SettingsCorridor oCorridorSettings = doc.Settings.GetSettings<SettingsCorridor>() as SettingsCorridor; 5 6// Set the template so new corridors are named "Corridor" 7// followed by a unique number followed by the name of the 8// corridor's first assembly in parenthesis. 9oCorridorSettings.NameFormat.Corridor.Value = "Corridor <[Next Counter(CP)]>(<[Corridor First Assembly(CP)]>)";