Creates a new instance of a PipeSectionLabel on a SectionPipeNetwork using the default label style.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.7.0.1276
Syntax
C#
public static ObjectId Create( ObjectId sectionViewId, ObjectId pipeId, ObjectId sectionPipeNetworkId, int partIndex )
VB
Public Shared Function Create ( sectionViewId As ObjectId, pipeId As ObjectId, sectionPipeNetworkId As ObjectId, partIndex As Integer ) As ObjectId
C++
public: static ObjectId Create( ObjectId sectionViewId, ObjectId pipeId, ObjectId sectionPipeNetworkId, int partIndex )
Parameters
- sectionViewId ObjectId
- The ObjectId of the SectionView in which the label is located.
- pipeId ObjectId
- The ObjectId of a Pipe that is one of the sources of the SectionPipeNetwork.
- sectionPipeNetworkId ObjectId
- The ObjectId of a SectionPipeNetwork.
- partIndex Int32
- The index of a part in the SectionPipeNetwork with the specified Pipe source.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|