M

NewBlend

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2022).
Identical to 2022: 2021, 2023, 2024, 2025, 2025.3, 2026, 2027
2022 current
FamilyItemFactory.NewBlend(Boolean, CurveArray, CurveArray, SketchPlane, CurveArray, CurveArray)
isSolid Boolean Indicates if the Blend is Solid or Void.
profile1 CurveArray The first blend section. It should represent a single, planar curve loop.
profile2 CurveArray The second blend section. It should represent a single, planar curve loop lying in a plane parallel to that of the first blend section.
sketchPlane SketchPlane The sketch plane for the first profile. Use this to associate the "base" of the blend to geometry from another element. Optional, it can be <span class="keyword">null</span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</span> if you want Revit to derive a new sketch plane from the geometry of the base profile.
topProfile CurveArray The top blend section. It should consist of only one curve loop. The input profile must be in one plane.
baseProfile CurveArray The base blend section. It should consist of only one curve loop. The input profile must be in one plane.
→ returns Blend If creation was successful the new blend is returned, otherwise an exception with failure information will be thrown.