Create Method

Creates a new instance of ProfilePVILabelGroup on the profile in the specified with the specified label style.

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

Syntax

C#

public static ObjectId Create(
	ObjectId profileViewId,
	ObjectId profileId,
	ObjectId styleId
)

Visual Basic

Public Shared Function Create ( _
	profileViewId As ObjectId, _
	profileId As ObjectId, _
	styleId As ObjectId _
) As ObjectId

Visual C++

public:
static ObjectId Create(
	ObjectId profileViewId, 
	ObjectId profileId, 
	ObjectId styleId
)

Parameters

profileViewId
Type: ObjectId
The ObjectId of profile view in which the label group is located.
profileId
Type: ObjectId
The ObjectId of profile in which the label group is located.
styleId
Type: ObjectId
The ObjectId of ProfilePVILabelGroup style.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the profileViewId, profileId or styleId is invalid.

See Also