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