Creates a new instance of a PipeProfileLabel on the middle of a ProfileViewPart with the default label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
| C# |
|---|
public static ObjectId Create(
ObjectId profileViewPartId,
ObjectId profileViewId
) |
| Visual Basic |
|---|
Public Shared Function Create ( _
profileViewPartId As ObjectId, _
profileViewId As ObjectId _
) As ObjectId |
| Visual C++ |
|---|
public:
static ObjectId Create(
ObjectId profileViewPartId,
ObjectId profileViewId
) |
Parameters
- profileViewPartId
- 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.
Exceptions
| Exception | Condition |
|---|
| System..::..ArgumentException |
Thrown when:
- The profileViewPartId or profileViewId is invalid.
- The pipeProfile is not in the profileView.
|
See Also