Creates a selector based on one portion of a specific analytical curve. 
   Namespace:   Autodesk.Revit.DB.Structure  
  Assembly:   RevitAPI  (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0) 
  Since:  2011 
Syntax
| C# | 
|---|
   |  
| Visual Basic | 
|---|
   |  
| Visual C++ | 
|---|
   |  
Parameters
- curve
 -  Type:  Autodesk.Revit.DB Curve  
The curve upon which this selector acts. 
- inCurveSelector
 -  Type:  Autodesk.Revit.DB.Structure AnalyticalCurveSelector  
Portion of the analytical curve in which the client is interested. 
Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.Exceptions ArgumentException | The input curve points to a helical curve and is not supported for this operation. | 
| Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL | 
| Autodesk.Revit.Exceptions ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |