Creates a new instance of a StructureSectionLabel on a SectionPipeNetwork using the default label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public static ObjectId Create( ObjectId sectionViewId, ObjectId structureId, ObjectId sectionPipeNetworkId, int partIndex )
Visual Basic
Public Shared Function Create ( _ sectionViewId As ObjectId, _ structureId As ObjectId, _ sectionPipeNetworkId As ObjectId, _ partIndex As Integer _ ) As ObjectId
Visual C++
public: static ObjectId Create( ObjectId sectionViewId, ObjectId structureId, ObjectId sectionPipeNetworkId, int partIndex )
Parameters
- sectionViewId
- Type: ObjectId
The ObjectId of the SectionView in which the label is located.
- structureId
- Type: ObjectId
The ObjectId of the Structure that is one of the sources of the SectionPipeNetwork.
- sectionPipeNetworkId
- Type: ObjectId
The ObjectId of the SectionPipeNetwork.
- partIndex
- Type: System.Int32
The zero-based index of the part in the SectionPipeNetwork with the specified Structure source.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Thrown when:
|