Share

PipeProfileLabel.Create(ObjectId, ObjectId) Method

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: 13.8.0.280

Syntax

C#

public static ObjectId Create(
	ObjectId profileViewPartId,
	ObjectId profileViewId
)

VB

Public Shared Function Create ( 
	profileViewPartId As ObjectId,
	profileViewId As ObjectId
) As ObjectId

C++

public:
static ObjectId Create(
	ObjectId profileViewPartId, 
	ObjectId profileViewId
)

Parameters

profileViewPartId  ObjectId
The ObjectId of the ProfileViewPart on which the label is located.
profileViewId  ObjectId
The ObjectId of the ProfileView in which the label is located.

Return Value

ObjectId

Exceptions

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

See Also

Reference

Was this information helpful?