Importing Breaklines from a File

You can import breaklines from a file in .FLT format, using AeccSurfaceBreaklines.AddBreaklineFromFile(). When you import the file, you need to specify whether to maintain the file link, or break the link:

For more information about these options, see Importing Breaklines from a File in the AutoCAD Civil 3D User’s Guide.

This sample shows how to import breaklines from a file named eg1.flt, and to get the first newly created breakline:

Dim oBrkLine As AeccSurfaceBreakline 
Set oBrkLine = brkLines.AddBreaklineFromFile("New Breakline", "C:\eg1.flt", 10#, aeccBreaklineFileBreakLink)(0)