Revit 2025.3 API
RebarCreate |
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static Rebar CreateFromCurvesAndShape( Document doc, RebarShape rebarShape, RebarBarType barType, RebarHookType startHook, RebarHookType endHook, Element host, XYZ norm, IList<Curve> curves, RebarHookOrientation startHookOrient, RebarHookOrientation endHookOrient, double hookRotationAngleAtStart, double hookRotationAngleAtEnd, ElementId endTreatmentTypeIdAtStart, ElementId endTreatmentTypeIdAtEnd )
Public Shared Function CreateFromCurvesAndShape ( doc As Document, rebarShape As RebarShape, 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, hookRotationAngleAtStart As Double, hookRotationAngleAtEnd As Double, endTreatmentTypeIdAtStart As ElementId, endTreatmentTypeIdAtEnd As ElementId ) As Rebar
public: static Rebar^ CreateFromCurvesAndShape( Document^ doc, RebarShape^ rebarShape, RebarBarType^ barType, RebarHookType^ startHook, RebarHookType^ endHook, Element^ host, XYZ^ norm, IList<Curve^>^ curves, RebarHookOrientation startHookOrient, RebarHookOrientation endHookOrient, double hookRotationAngleAtStart, double hookRotationAngleAtEnd, ElementId^ endTreatmentTypeIdAtStart, ElementId^ endTreatmentTypeIdAtEnd )
static member CreateFromCurvesAndShape : doc : Document * rebarShape : RebarShape * barType : RebarBarType * startHook : RebarHookType * endHook : RebarHookType * host : Element * norm : XYZ * curves : IList<Curve> * startHookOrient : RebarHookOrientation * endHookOrient : RebarHookOrientation * hookRotationAngleAtStart : float * hookRotationAngleAtEnd : float * endTreatmentTypeIdAtStart : ElementId * endTreatmentTypeIdAtEnd : ElementId -> Rebar
Parameters
- doc Document
- rebarShape RebarShape
- barType RebarBarType
- startHook RebarHookType
- endHook RebarHookType
- host Element
- norm XYZ
- curves IListCurve
- startHookOrient RebarHookOrientation
- endHookOrient RebarHookOrientation
- hookRotationAngleAtStart Double
- hookRotationAngleAtEnd Double
- endTreatmentTypeIdAtStart ElementId
- endTreatmentTypeIdAtEnd ElementId
Return Value
RebarSee Also