ChannelDesignCrossSectionCustomImportPointsFromCSVFile Method

Import points from a CSV file to the custom cross section.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntax
public bool ImportPointsFromCSVFile(
	string csvFilePath
)

Parameters

csvFilePath  String
The full file path of the CSV file File path can be either local or network..

Return Value

Boolean
Return true if import successfully, or else return false.
Exceptions
ExceptionCondition
ArgumentException Thrown when:
  1. The file path is empty.
  2. The file does not exist.
  3. The file can't be open.
  4. The file content is empty.
  5. The file content is invalid.
  6. Invalid characters at point data row.
  7. There are no points to import.
See Also