Creates a sample line group.

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

Syntax

C#
public static ObjectId Create(
	string groupName,
	ObjectId alignmentId
)
Visual Basic
Public Shared Function Create ( _
	groupName As String, _
	alignmentId As ObjectId _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	String^ groupName, 
	ObjectId alignmentId
)

Parameters

groupName
Type: System..::..String
The name of sample line group to be created.
alignmentId
Type: ObjectId
The ObjectId of alignment.

Exceptions

ExceptionCondition
System..::..ArgumentNullException Thrown when specified sample line group name is null.
System..::..ArgumentException Thrown when:
  • The specified sample line group name is empty string or duplicate.
  • The alignmentId is not a alignment object id.

See Also