WireframeBuilder 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
SystemObject
  Autodesk.Revit.DBShapeBuilder
    Autodesk.Revit.DBWireframeBuilder

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
 NameDescription
Public methodWireframeBuilder Default constructor.
Top
Properties
 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from ShapeBuilder)
Top
Methods
 NameDescription
Public methodAddCurve Add a curve to the shape representation stored in this WireframeBuilder.
Public methodAddPoint Add a point to the shape representation stored in this WireframeBuilder.
Public methodDispose
(Inherited from ShapeBuilder)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodReset Clears the accumulated geometry.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodStatic memberValidateCurve 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 methodStatic memberValidatePoint Validates the point object to be added to the wireframe shape being constructed. Used by AddPoint() to validate input.
Top
See Also