ChannelDesignCrossSectionCustomImportPointsFromCSVFile Method |
Import points from a CSV file to the custom cross section.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntaxpublic bool ImportPointsFromCSVFile(
string csvFilePath
)
Public Function ImportPointsFromCSVFile (
csvFilePath As String
) As Boolean
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
BooleanReturn true if import successfully, or else return false.
Exceptions| Exception | Condition |
|---|
| ArgumentException |
Thrown when:
- The file path is empty.
- The file does not exist.
- The file can't be open.
- The file content is empty.
- The file content is invalid.
- Invalid characters at point data row.
- There are no points to import.
|
See Also