Gets or sets the maximum length of the corridor surface's triangle side.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public double MaximumTriangleSideLength { get; set; } |
Visual Basic |
---|
Public Property MaximumTriangleSideLength As Double
Get
Set |
Visual C++ |
---|
public:
property double MaximumTriangleSideLength {
double get ();
void set (double value);
} |
Remarks
Examples
CopyC#
1private void WriteCorridor(Corridor corridor)
2{
3
4
5
6 CorridorData data = new CorridorData()
7 {
8 Name = corridor.Name,
9 CodeSetStyleName = corridor.CodeSetStyleName,
10 RegionLockMode = corridor.RegionLockMode.ToString(),
11 IsOutOfDate = corridor.IsOutOfDate.ToString(),
12 AutomaticRebuild = corridor.RebuildAutomatic.ToString(),
13 MaximumTriangleLength = corridor.MaximumTriangleSideLength.ToString()
14 };
15
16 _writer.WriteCorridorInfo(data);
17
18 foreach (Baseline baseline in corridor.Baselines)
19 {
20 WriteBaselineInfo(baseline);
21 }
22
23 foreach (CorridorSurface corridorSurface in corridor.CorridorSurfaces)
24 {
25 WriteCorridorSurfaceInfo(corridorSurface);
26 }
27
28 foreach (FeatureLineCodeInfo featureLine in corridor.FeatureLineCodeInfos)
29 {
30 WriteFeatureLineCodeInfo(featureLine);
31 }
32
33 foreach (CorridorSlopePattern pattern in corridor.SlopePatterns)
34 {
35 WriteCorridorSlopePattern(pattern);
36 }
37
38 _writer.CloseCorridorInfo();
39}
Exceptions
Exception | Condition |
---|
System..::..ArgumentException | This exception
is raised if the property is set to zero or negative value.
|
See Also