CurveByPointsUtils
Description:
A static class that contains methods for processing curves driven by points.
A static class that contains methods for processing curves driven by points.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.CurveByPointsUtils
System.Object
Autodesk.Revit.DB.CurveByPointsUtils
public class CurveByPointsUtils : IDisposable
| Name | Return Type | Description |
|---|---|---|
| AddCurvesToFaceRegion(Document, IList<ElementId>) | None | Adds The CurveElements to one or more FaceRegions. |
| CreateArcThroughPoints(Document, ReferencePoint, ReferencePoint, ReferencePoint) | CurveElement | Creates an arc through the given reference points. |
| CreateRectangle(Document, ReferencePoint, ReferencePoint, CurveProjectionType, Boolean, Boolean, IList<ElementId>, IList<ElementId>) | None | Creates rectangle on face or sketchplane for two given diagonal points. |
| Dispose() | None | Releases all resources used by the |
| GetFaceRegions(Document, Reference) | IList<Reference> | Gets the FaceRegions in the existing face. |
| GetHostFace(CurveElement) | Reference | Gets the host face to which the CurveElement is added. |
| GetProjectionType(CurveElement) | The projection type. | Gets the projection type of the CurveElement. |
| GetSketchOnSurface(CurveElement) | bool | Gets the relationship between the CurveElement and face. |
| SetProjectionType(CurveElement, CurveProjectionType) | None | Sets the projection type of the CurveElement. |
| SetSketchOnSurface(CurveElement, Boolean) | None | Sets the relationship between the CurveElement and face. |
| ValidateCurveElementIdArrayForFaceRegions(Document, IList<ElementId>) | bool | Validates that the input CurveElements can define FaceRegions. The CurveElements must be CurveByPoints. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |