Share

SampleLineGroup.Create Method

Creates a sample line group.



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

Syntax

C#

public static ObjectId Create(
	string groupName,
	ObjectId alignmentId
)

VB

Public Shared Function Create ( 
	groupName As String,
	alignmentId As ObjectId
) As ObjectId

C++

public:
static ObjectId Create(
	String^ groupName, 
	ObjectId alignmentId
)

Parameters

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

Return Value

ObjectId

Exceptions

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

See Also

Reference

Was this information helpful?