Creates a FeatureLine from the specified Line, Arc, Polyline, Polyline2d or Polyline3d.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId Create( string featurelineName, ObjectId idCreatedFrom )
VB
Public Shared Function Create ( featurelineName As String, idCreatedFrom As ObjectId ) As ObjectId
C++
public: static ObjectId Create( String^ featurelineName, ObjectId idCreatedFrom )
Parameters
- featurelineName String
- Name of the created FeatureLine, and this name can be null or empty string for creating an unnamed feature line.
- idCreatedFrom ObjectId
- The ObjectId of specified Line, Arc, Polyline, Polyline2d or Polyline3d created from.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|