Creates a new section view from a specified sample line.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public static ObjectId Create(
	string sectionViewName,
	ObjectId sampleLineId,
	Point3d location
)
Visual Basic
Public Shared Function Create ( _
	sectionViewName As String, _
	sampleLineId As ObjectId, _
	location As Point3d _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	String^ sectionViewName, 
	ObjectId sampleLineId, 
	Point3d location
)

Parameters

sectionViewName
Type: System..::..String
The name of the newly created section view.
sampleLineId
Type: ObjectId
The ObjectId of the sample line from which a new section view is created.
location
Type: Point3d
Location of the newly created section view.

Return Value

The ObjectId of the newly created section view.

Exceptions

ExceptionCondition
[!:System.ArgumentException] Thrown when the specified section view name, sample line id is invalid.

See Also