Share

SuperelevationCurveCollection.ImportSuperelevationDataFromFile Method

Imports superelevation data from specified file.



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

Syntax

C#

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

VB

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

C++

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

Parameters

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

Exceptions

ExceptionCondition
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.
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

Reference

Was this information helpful?