RebarCreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IListCurve, RebarHookOrientation, RebarHookOrientation, Boolean, Boolean) Method |
Note: This API is now obsolete.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax[ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFromCurves(Document doc, RebarStyle style, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData, bool useExistingShapeIfPossible, bool createNewShape) instead.")]
public static Rebar CreateFromCurves(
Document doc,
RebarStyle style,
RebarBarType barType,
RebarHookType startHook,
RebarHookType endHook,
Element host,
XYZ norm,
IList<Curve> curves,
RebarHookOrientation startHookOrient,
RebarHookOrientation endHookOrient,
bool useExistingShapeIfPossible,
bool createNewShape
)
<ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFromCurves(Document doc, RebarStyle style, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData, bool useExistingShapeIfPossible, bool createNewShape) instead.")>
Public Shared Function CreateFromCurves (
doc As Document,
style As RebarStyle,
barType As RebarBarType,
startHook As RebarHookType,
endHook As RebarHookType,
host As Element,
norm As XYZ,
curves As IList(Of Curve),
startHookOrient As RebarHookOrientation,
endHookOrient As RebarHookOrientation,
useExistingShapeIfPossible As Boolean,
createNewShape As Boolean
) As Rebar
public:
[ObsoleteAttribute(L"This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFromCurves(Document doc, RebarStyle style, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData, bool useExistingShapeIfPossible, bool createNewShape) instead.")]
static Rebar^ CreateFromCurves(
Document^ doc,
RebarStyle style,
RebarBarType^ barType,
RebarHookType^ startHook,
RebarHookType^ endHook,
Element^ host,
XYZ^ norm,
IList<Curve^>^ curves,
RebarHookOrientation startHookOrient,
RebarHookOrientation endHookOrient,
bool useExistingShapeIfPossible,
bool createNewShape
)
[<ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFromCurves(Document doc, RebarStyle style, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData, bool useExistingShapeIfPossible, bool createNewShape) instead.")>]
static member CreateFromCurves :
doc : Document *
style : RebarStyle *
barType : RebarBarType *
startHook : RebarHookType *
endHook : RebarHookType *
host : Element *
norm : XYZ *
curves : IList<Curve> *
startHookOrient : RebarHookOrientation *
endHookOrient : RebarHookOrientation *
useExistingShapeIfPossible : bool *
createNewShape : bool -> Rebar
Parameters
- doc Document
-
- style RebarStyle
-
- barType RebarBarType
-
- startHook RebarHookType
-
- endHook RebarHookType
-
- host Element
-
- norm XYZ
-
- curves IListCurve
-
- startHookOrient RebarHookOrientation
-
- endHookOrient RebarHookOrientation
-
- useExistingShapeIfPossible Boolean
-
- createNewShape Boolean
-
Return Value
Rebar
See Also