PartAddToSectionView Method |
Note: This API is now obsolete.
Draws the part into the specified section view.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: 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
)<ObsoleteAttribute("This API is obsolete. Use SampleLineGroup.GetSectionSources() and set SectionSource.IsSampled = true instead.",
false)>
Public Sub AddToSectionView (
sectionViewId As ObjectId
)public:
[ObsoleteAttribute(L"This API is obsolete. Use SampleLineGroup.GetSectionSources() and set SectionSource.IsSampled = true instead.",
false)]
void AddToSectionView(
ObjectId sectionViewId
)
Parameters
- sectionViewId ObjectId
- The ObjectId of the target section view.
Exceptions| Exception | Condition |
|---|
| 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