SectionViewGroupCollectionAdd(Point3d, Double, Double, SectionViewGroupCreationRangeOptions, SectionViewGroupCreationPlacementOptions) Method |
Add a SectionViewGroup which will create multiple SectionViews within specified station range in Alignment.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic SectionViewGroup Add(
Point3d insertPosition,
double startStation,
double endStation,
SectionViewGroupCreationRangeOptions rangeOptions,
SectionViewGroupCreationPlacementOptions placementOptions
)
Public Function Add (
insertPosition As Point3d,
startStation As Double,
endStation As Double,
rangeOptions As SectionViewGroupCreationRangeOptions,
placementOptions As SectionViewGroupCreationPlacementOptions
) As SectionViewGroup
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
ExceptionsException | Condition |
---|
[!:System.ArgumentException] |
Thrown when:
- startStation is less than start station of Alignment or larger than endStation.
- endStation is larger than end station of Alignment or less than startStation.
|
See Also