<Code Lib>
2022 Class
Changes 0
C

WireframeBuilder

Description:
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

Name Return Type Description Inherited From
C WireframeBuilder() WireframeBuilder Default constructor.

Name Return Type Description Inherited From
M AddCurve(Curve) None Add a curve to the shape representation stored in this WireframeBuilder.
M AddPoint(Point) None Add a point to the shape representation stored in this WireframeBuilder.
M Reset() None Clears the accumulated geometry.
M 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().
M ValidatePoint(Point) bool Validates the point object to be added to the wireframe shape being constructed. Used by AddPoint() to validate input.
M Dispose() None Releases all resources used by the ShapeBuilder

Name Return Type Description Inherited From
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity. ShapeBuilder

Loading…