Import transitions from a csv file. The imported transitions will be applied to baseline automatically.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public int ImportTransitions( string csvFileName )
VB
Public Function ImportTransitions ( csvFileName As String ) As Integer
C++
public: int ImportTransitions( String^ csvFileName )
Parameters
- csvFileName String
- File name with directory or not. File path can be either local or network.
Return Value
Int32The count of transition sets which has been imported and applied.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when: 1. File name is empty. 2. File doesn't exist. 3. File extension is not .csv. |
Exception | Thrown when: 1. Invalid version in csv fle. 2. No version info in csv file. 3. Header is duplicate in csv file. 4. Header is missing in csv file. 5. Other error cases when parsing csv file. |