WireframeBuilder
Description:
Constructs a shape representation consisting of points and curves. That shape would typically be stored in a DirectShape or a DirectShapeType object.
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
System.Object
Autodesk.Revit.DB.ShapeBuilder
Autodesk.Revit.DB.WireframeBuilder
public class WireframeBuilder : ShapeBuilder
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| WireframeBuilder() | None | Default constructor. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AddCurve(Curve) | None | Add a curve to the shape representation stored in this WireframeBuilder. | |
| AddPoint(Point) | None | Add a point to the shape representation stored in this WireframeBuilder. | |
| Reset() | None | Clears the accumulated geometry. | |
| ValidateCurve(Curve) | bool | 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(). | |
| ValidatePoint(Point) | bool | Validates the point object to be added to the wireframe shape being constructed. Used by AddPoint() to validate input. | |
| Dispose() | None | Releases all resources used by the | ShapeBuilder |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | ShapeBuilder |