Метод | Описание | |
---|---|---|
GetEdgesOnPlane ( EdgeArray edgeArray, XYZ normal ) : EdgeArray |
Given an array of edges, weeds out any edges not present on the desired plane
|
|
GetEdgesOnPlaneAtOffset ( EdgeArray edgeArray, XYZ normal, double offset ) : EdgeArray |
Given an array of edges, weeds out any edges not present at the given offset
|
|
GetProfile ( Solid solid, double offset, Autodesk.Revit app ) : CurveArray |
Given a solid, returns a curve array containing the edges which are visible in plan view
|
|
GetWorldPlane ( Autodesk app ) : SketchPlane |
Get the "standard" plane (equiv. to WCS in AutoCAD terms)
|
|
Mirror ( Curve curve, XYZ axis, Application app ) : Curve |
Given a curve, mirrors it along the given axis
|
|
Mirror ( XYZ point, XYZ axis ) : XYZ |
Given a point, mirrors it along the given axis
|
|
ToCurveArray ( EdgeArray edgeArray, CurveArray curveArray ) : CurveArray |
Given an edge Array converts it to a curveArray
|
public static GetEdgesOnPlane ( EdgeArray edgeArray, XYZ normal ) : EdgeArray | ||
edgeArray | EdgeArray | |
normal | XYZ | normal to the desired plane |
Результат | EdgeArray |
public static GetEdgesOnPlaneAtOffset ( EdgeArray edgeArray, XYZ normal, double offset ) : EdgeArray | ||
edgeArray | EdgeArray | the array of edges |
normal | XYZ | normal to the desired plane |
offset | double | offset from the plane |
Результат | EdgeArray |
public static GetProfile ( Solid solid, double offset, Autodesk.Revit app ) : CurveArray | ||
solid | Solid | solid whose plan view edges are needed |
offset | double | offset from plane |
app | Autodesk.Revit | revit application |
Результат | CurveArray |
public static GetWorldPlane ( Autodesk app ) : SketchPlane | ||
app | Autodesk | |
Результат | SketchPlane |
public static Mirror ( Curve curve, XYZ axis, Application app ) : Curve | ||
curve | Curve | curve to mirror |
axis | XYZ | axis to mirror along |
app | Application | revit application |
Результат | Curve |
public static Mirror ( XYZ point, XYZ axis ) : XYZ | ||
point | XYZ | point to mirror |
axis | XYZ | |
Результат | XYZ |
public static ToCurveArray ( EdgeArray edgeArray, CurveArray curveArray ) : CurveArray | ||
edgeArray | EdgeArray | edgeArray to convert |
curveArray | CurveArray | curveArray to fill |
Результат | CurveArray |