SetHookRotationAngle
Version comparisonPer-version detail
Click a version below to see what changed in that release vs your current frame (2026).
Not present in: 2020, 2027
2026
current
RebarShape.SetHookRotationAngle(Double, Int32, Double, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
| rotationAngle | Double | The out of plane rotation angle at the specified end. The angle will be used for both hook and crank. |
| end | Int32 | 0 for the start, 1 for the end. |
| hookRotationAngle | Double | The out of plane hook rotation angle at the specified end. |
| iEnd | Int32 | 0 for the start , 1 for the end. |
RebarShape.SetHookRotationAngle(Double, Int32, Double, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
| rotationAngle | Double | The out of plane rotation angle at the specified end. The angle will be used for both hook and crank. |
| end | Int32 | 0 for the start, 1 for the end. |
| hookRotationAngle | Double | The out of plane hook rotation angle at the specified end. |
| iEnd | Int32 | 0 for the start , 1 for the end. |
RebarShape.SetHookRotationAngle(Double, Int32, Double, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
| rotationAngle | Double | The out of plane rotation angle at the specified end. The angle will be used for both hook and crank. |
| end | Int32 | 0 for the start, 1 for the end. |
| hookRotationAngle | Double | The out of plane hook rotation angle at the specified end. |
| iEnd | Int32 | 0 for the start , 1 for the end. |
RebarShape.SetHookRotationAngle(Double, Int32, Double, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
| rotationAngle | Double | The out of plane rotation angle at the specified end. The angle will be used for both hook and crank. |
| end | Int32 | 0 for the start, 1 for the end. |
| hookRotationAngle | Double | The out of plane hook rotation angle at the specified end. |
| iEnd | Int32 | 0 for the start , 1 for the end. |
RebarShape.SetHookRotationAngle(Double, Int32, Double, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
| rotationAngle | Double | The out of plane rotation angle at the specified end. The angle will be used for both hook and crank. |
| end | Int32 | 0 for the start, 1 for the end. |
| hookRotationAngle | Double | The out of plane hook rotation angle at the specified end. |
| iEnd | Int32 | 0 for the start , 1 for the end. |
RebarShape.SetHookRotationAngle(Double, Int32, Double, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
| rotationAngle | Double | The out of plane rotation angle at the specified end. The angle will be used for both hook and crank. |
| end | Int32 | 0 for the start, 1 for the end. |
| hookRotationAngle | Double | The out of plane hook rotation angle at the specified end. |
| iEnd | Int32 | 0 for the start , 1 for the end. |