Skip to content

WireframeBuilder

Public Class

Constructs a shape representation consisting of points and curves. That shape would typically be stored in a DirectShape or a DirectShapeType object.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.ShapeBuilder
Autodesk.Revit.DB.WireframeBuilder

Namespace: Autodesk.Revit.DB

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

Syntax

public class WireframeBuilder : ShapeBuilder

The WireframeBuilder type exposes the following members.

Constructors

Name

Description


Public Method
WireframeBuilder

Default constructor.


Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.
(Inherited from ShapeBuilder)


Methods

Name

Description


Public Method

Add a curve to the shape representation stored in this WireframeBuilder.


Public Method

Add a point to the shape representation stored in this WireframeBuilder.


Public Method

(Inherited from ShapeBuilder)


Public Method

Equals

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


Public Method

GetHashCode

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


Public Method

GetType

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


Public Method

Clears the accumulated geometry.


Public Method

ToString

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


Public Method
Static Member

Validates curve to be added to the wireframe shape being constructed. Used by addCurve to validate input. This function may be used to pre-validate the geometry being added to avoid an exception from AddCurve().


Public Method
Static Member
ValidatePoint

Validates the point object to be added to the wireframe shape being constructed. Used by AddPoint() to validate input.