SampleLineGroupCreate Method |
Creates a sample line group.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
string groupName,
ObjectId alignmentId
)
Public Shared Function Create (
groupName As String,
alignmentId As ObjectId
) As ObjectId
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
ExceptionsException | Condition |
---|
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