Add a SectionViewGroup which will create multiple SectionViews within specified station range in Alignment.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public SectionViewGroup Add(
	Point3d insertPosition,
	double startStation,
	double endStation,
	SectionViewGroupCreationRangeOptions rangeOptions,
	SectionViewGroupCreationPlacementOptions placementOptions
)
Visual Basic
Public Function Add ( _
	insertPosition As Point3d, _
	startStation As Double, _
	endStation As Double, _
	rangeOptions As SectionViewGroupCreationRangeOptions, _
	placementOptions As SectionViewGroupCreationPlacementOptions _
) As SectionViewGroup
Visual C++
public:
SectionViewGroup^ Add(
	Point3d insertPosition, 
	double startStation, 
	double endStation, 
	SectionViewGroupCreationRangeOptions^ rangeOptions, 
	SectionViewGroupCreationPlacementOptions^ placementOptions
)

Parameters

insertPosition
Type: Point3d
The position at which the SectionView is inserted.
startStation
Type: System..::..Double
The user specified start station on Alignment.
endStation
Type: System..::..Double
The user specified end station on Alignment.
rangeOptions
Type: Autodesk.Civil.DatabaseServices..::..SectionViewGroupCreationRangeOptions
The user specified range options to determine the offset and elevation.
placementOptions
Type: Autodesk.Civil.DatabaseServices..::..SectionViewGroupCreationPlacementOptions
The options to control the placement of the SectionViews in model space.

Exceptions

ExceptionCondition
[!:System.ArgumentException] Thrown when:
  1. startStation is less than start station of Alignment or larger than endStation.
  2. endStation is larger than end station of Alignment or less than startStation.

See Also