Creates a new instance of a PipeProfileLabel on the middle of a ProfileViewPart with the default label style.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.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

ExceptionCondition
System..::..ArgumentException Thrown when:
  • The profileViewPartId or profileViewId is invalid.
  • The pipeProfile is not in the profileView.

See Also