Creates a new instance of a SpanningPipeLabel that spans a collection of parts using the default label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public static ObjectId Create(
ObjectIdCollection partIds,
ObjectId anchorPipeId
) |
Visual Basic |
---|
Public Shared Function Create ( _
partIds As ObjectIdCollection, _
anchorPipeId As ObjectId _
) As ObjectId |
Visual C++ |
---|
public:
static ObjectId Create(
ObjectIdCollection^ partIds,
ObjectId anchorPipeId
) |
Parameters
- partIds
- Type: ObjectIdCollection
An ObjectIdCollection of Parts that need spanning.
- anchorPipeId
- Type: ObjectId
The ObjectId of the Pipe on which the label is located.
Remarks
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when:
- The anchorPipeId or labelStyleId is invalid.
- The items in partIds are not in the same PipeNetwork.
- A path that crosses two adjacent items in partIds can not be found.
|
See Also