Share

SectionViewGroupCollection.Add(Point3d, Double, Double, SectionViewGroupCreationRangeOptions, SectionViewGroupCreationPlacementOptions) Method

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.8.0.280

Syntax

C#

public SectionViewGroup Add(
	Point3d insertPosition,
	double startStation,
	double endStation,
	SectionViewGroupCreationRangeOptions rangeOptions,
	SectionViewGroupCreationPlacementOptions placementOptions
)

VB

Public Function Add ( 
	insertPosition As Point3d,
	startStation As Double,
	endStation As Double,
	rangeOptions As SectionViewGroupCreationRangeOptions,
	placementOptions As SectionViewGroupCreationPlacementOptions
) As SectionViewGroup

C++

public:
SectionViewGroup^ Add(
	Point3d insertPosition, 
	double startStation, 
	double endStation, 
	SectionViewGroupCreationRangeOptions^ rangeOptions, 
	SectionViewGroupCreationPlacementOptions^ placementOptions
)

Parameters

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

Return Value

SectionViewGroup

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

Reference

Was this information helpful?