Skip to content

CurveByPointsUtils

Public Class

A static class that contains methods for processing curves driven by points.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.CurveByPointsUtils

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class CurveByPointsUtils : IDisposable

The CurveByPointsUtils type exposes the following members.

Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Methods

Name

Description


Public Method
Static Member
AddCurvesToFaceRegion

Adds The CurveElements to one or more FaceRegions.


Public Method
Static Member
CreateArcThroughPoints

Creates an arc through the given reference points.


Public Method
Static Member
CreateRectangle

Creates rectangle on face or sketchplane for two given diagonal points.


Public Method

Releases all resources used by the CurveByPointsUtils


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method
Static Member

Gets the FaceRegions in the existing face.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method
Static Member

Gets the host face to which the CurveElement is added.


Public Method
Static Member

Gets the projection type of the CurveElement.


Public Method
Static Member

Gets the relationship between the CurveElement and face.


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method
Static Member

Sets the projection type of the CurveElement.


Public Method
Static Member

Sets the relationship between the CurveElement and face.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Public Method
Static Member

Validates that the input CurveElements can define FaceRegions. The CurveElements must be CurveByPoints. Each curve must be entirely hosted by a single Face or hosts related to a common Face (for example, Edges of a common Face, other CurveElements hosted by a common Face). To be added to the FaceRegion definition, a CurveElement must have the SketchOnSurface attribute set.