Creates a new section view from a specified sample line.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId Create( string sectionViewName, ObjectId sampleLineId, Point3d location )
VB
Public Shared Function Create ( sectionViewName As String, sampleLineId As ObjectId, location As Point3d ) As ObjectId
C++
public: static ObjectId Create( String^ sectionViewName, ObjectId sampleLineId, Point3d location )
Parameters
- sectionViewName String
- The name of the newly created section view.
- sampleLineId ObjectId
- The ObjectId of the sample line from which a new section view is created.
- location Point3d
- Location of the newly created section view.
Return Value
ObjectIdThe ObjectId of the newly created section view.
Exceptions
Exception | Condition |
---|---|
[!:System.ArgumentException] | Thrown when the specified section view name, sample line id is invalid. |