Share

CrossingPipeProfileLabel.Create(ObjectId, ObjectId, ObjectId) Method

Creates new instance(s) of a CrossingPipeProfileLabel on the specified ProfileViewPart with the specified label style.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public static ObjectIdCollection Create(
	ObjectId profileViewPartId,
	ObjectId profileViewId,
	ObjectId labelStyleId
)

VB

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

C++

public:
static ObjectIdCollection^ Create(
	ObjectId profileViewPartId, 
	ObjectId profileViewId, 
	ObjectId labelStyleId
)

Parameters

profileViewPartId  ObjectId
The ObjectId of a ProfileViewPart on which the label is located.
profileViewId  ObjectId
The ObjectId of the ProfileView in which the label is located.
labelStyleId  ObjectId
The ObjectId of a CrossingPipeProfileLabel style to use.

Return Value

ObjectIdCollection

Exceptions

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

See Also

Reference

Was this information helpful?