This is further to my previous post ‘Accessing Surface Boundary vertices using Civil 3D .NET API’. When we try to add a boundary object in Civil 3D using UI tools, we get to see the following UI window :
In this post I will explain what are the equivalent APIs available currently (in release 2013) corresponding to boundary properties we see in the above UI dialog box.
'Name' is accessible through BoundariesDefinition.Item(i).Name
'Type' is accessible through SurfaceBoundary.BoundaryType
SurfaceBoundaryType Enumeration -
Show
DataClip
Outer
Hide
'Non-Destructive breakline' is same as IsTrimmed [BoundariesDefinition.Item(i).IsTrimmed ]
'Mid-ordinate distance' is not exposed yet; we have a wish list logged for the same. Let me know if this is useful to you, I can assign an appropriate priority based on number of responses I see here.