ImportSuperelevationDataFromFile Method

Imports superelevation data from specified file.

Imports superelevation data from specified file.

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

Syntax

C#

public static void ImportSuperelevationDataFromFile(
	string fileName,
	ObjectId alignmentId,
	bool acceptGarbage
)

Visual Basic

Public Shared Sub ImportSuperelevationDataFromFile ( _
	fileName As String, _
	alignmentId As ObjectId, _
	acceptGarbage As Boolean _
)

Visual C++

public:
static void ImportSuperelevationDataFromFile(
	String^ fileName, 
	ObjectId alignmentId, 
	bool acceptGarbage
)

Parameters

fileName
Type: System.String
The full path and name of the superelevation data file.The full path and name of the superelevation data file.
alignmentId
Type: ObjectId
The alignment which the superelevation data are imported to.The alignment which the superelevation data are imported to.
acceptGarbage
Type: System.Boolean
Accept or ignore if there is some garbage data in the file.Accept or ignore if there is some garbage data in the file.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when:
  1. The file name does not exist.
  2. The alignment id is invalid.
  3. The file content doesn't match the specified superelevation data file format.
System.ArgumentException Thrown when:
  1. The file name does not exist.
  2. The alignment id is invalid.
  3. The file content doesn't match the specified superelevation data file format.

See Also