SettingsCorridor Class

Controls ambient settings for corridors.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    DisposableWrapper
      TreeOidWrapper
        Autodesk.Civil.SettingsSettingsAmbient
          Autodesk.Civil.SettingsSettingsCorridor
            More

Namespace: Autodesk.Civil.Settings
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public class SettingsCorridor : SettingsAmbient

The SettingsCorridor type exposes the following members.

Properties
 NameDescription
Public propertyAcceleration Gets the Acceleration settings
(Inherited from SettingsAmbient)
Public propertyAngle The Angle settings
(Inherited from SettingsAmbient)
Public propertyArea The Area settings
(Inherited from SettingsAmbient)
Public propertyCoordinate The Coordinate settings
(Inherited from SettingsAmbient)
Public propertyDegreeOfCurvature Gets the DegreeOfCurvature settings
(Inherited from SettingsAmbient)
Public propertyDimension The Dimension settings
(Inherited from SettingsAmbient)
Public propertyDirection The Direction settings
(Inherited from SettingsAmbient)
Public propertyDistance The Distance settings
(Inherited from SettingsAmbient)
Public propertyElevation The Elevation settings
(Inherited from SettingsAmbient)
Public propertyGeneral The General settings
(Inherited from SettingsAmbient)
Public propertyGrade Gets the Grade settings
(Inherited from SettingsAmbient)
Public propertyGradeSlope Gets the GradeSlope settings
(Inherited from SettingsAmbient)
Public propertyGridCoordinate Gets the GridCoordinate settings
(Inherited from SettingsAmbient)
Public propertyLabeling Gets the Labeling settings
(Inherited from SettingsAmbient)
Public propertyLatLong Gets the LatLong settings
(Inherited from SettingsAmbient)
Public propertyNameFormat settings to specify the default name formats for corridors and corridor surfaces, as well as for alignments and profiles from feature lines.
Public propertyPressure Gets the Pressure settings
(Inherited from SettingsAmbient)
Public propertyRegionHighlightGraphics Settings corridor highlight region graphics.
Public propertySlope Gets the Slope settings
(Inherited from SettingsAmbient)
Public propertySpeed Gets the Speed settings
(Inherited from SettingsAmbient)
Public propertyStation Gets the Station settings
(Inherited from SettingsAmbient)
Public propertyStyles Settings to establish the default styles assigned to corridor components.
Public propertyTime The Time settings
(Inherited from SettingsAmbient)
Public propertyTransparentCommands Gets the TransparentCommands settings
(Inherited from SettingsAmbient)
Public propertyUnitless The Unitless settings
(Inherited from SettingsAmbient)
Public propertyVolume Gets the Volume settings
(Inherited from SettingsAmbient)
Top
Example
C#
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)]>)";
See Also
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    DisposableWrapper
      TreeOidWrapper
        Autodesk.Civil.SettingsSettingsAmbient
          Autodesk.Civil.SettingsSettingsCorridor
            Autodesk.Civil.SettingsSettingsCmdCorridorExtractSurfaces
            Autodesk.Civil.SettingsSettingsCmdCreateAlignFromCorridor
            Autodesk.Civil.SettingsSettingsCmdCreateCorridor
            Autodesk.Civil.SettingsSettingsCmdCreatePointsFromCorridor
            Autodesk.Civil.SettingsSettingsCmdCreatePolylineFromCorridor
            Autodesk.Civil.SettingsSettingsCmdCreateProfileFromCorridor
            Autodesk.Civil.SettingsSettingsCmdCreateSimpleCorridor
            Autodesk.Civil.SettingsSettingsCmdFeatureLinesFromCorridor
            Autodesk.Civil.SettingsSettingsCmdViewEditCorridorSection