PartAddToSectionView Method

Note: This API is now obsolete.

Draws the part into the specified section view.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.9.0.960
Syntax
[ObsoleteAttribute("This API is obsolete. Use SampleLineGroup.GetSectionSources() and set SectionSource.IsSampled = true instead.", 
	false)]
public void AddToSectionView(
	ObjectId sectionViewId
)

Parameters

sectionViewId  ObjectId
The ObjectId of the target section view.
Exceptions
ExceptionCondition
ArgumentException Thrown when the input is not a valid object id for a section view.
Remarks
This API is obsolete and no longer has any effect. To display pipe network parts in a section view, use SampleLineGroup.GetSectionSources() to obtain the SectionSourceCollection, find the SectionSource with SourceType == SectionSourceType.PipeNetwork, and set IsSampled to true.
See Also