Creates a new instance of a SpanningPipeProfileLabel that spans a collection of ProfileViewParts 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 profileViewPartIds,
ObjectId anchorProfileViewPartId,
ObjectId profileViewId
) |
Visual Basic |
---|
Public Shared Function Create ( _
profileViewPartIds As ObjectIdCollection, _
anchorProfileViewPartId As ObjectId, _
profileViewId As ObjectId _
) As ObjectId |
Visual C++ |
---|
public:
static ObjectId Create(
ObjectIdCollection^ profileViewPartIds,
ObjectId anchorProfileViewPartId,
ObjectId profileViewId
) |
Parameters
- profileViewPartIds
- Type: ObjectIdCollection
An ObjectIdCollection of ProfileViewParts that need spanning.
- anchorProfileViewPartId
- Type: ObjectId
The ObjectId of the ProfileViewPart on which the label is located.
- profileViewId
- Type: ObjectId
The ObjectId of the ProfileView in which the label is located.
Remarks
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when:
- The anchorProfileViewPartId, profileViewId or labelStyleId is invalid.
- The items in profileViewPartIds are not in the same PipeNetwork.
- The items in profileViewPartIds aer not in the ProfileView.
- A path crossing two adjacent items in profileViewPartIds can not be found.
|
See Also