CreateFromRebarShape
Version comparisonPer-version detail
Click a version below to see what changed in that release vs your current frame (2020).
2020
current
Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
| doc | Document | A document. |
| rebarShape | RebarShape | A RebarShape element that defines the shape of the rebar. |
| barType | RebarBarType | A RebarBarType element that defines bar diameter, bend radius and material of the rebar. |
| host | Element | The element to which the rebar belongs. The element must support rebar hosting; see Autodesk.Revit.DB.Structure.RebarHostData. |
| origin | XYZ | The lower-left corner of the shape's bounding box will be placed at this point in the project. |
| xVec | XYZ | The x-axis in the shape definition will be mapped to this direction in the project. |
| yVec | XYZ | The y-axis in the shape definition will be mapped to this direction in the project. |
| → returns | Rebar→nullNothingnullptr | The newly created Rebar instance, or null Nothing nullptr a null reference ( Nothing in Visual Basic) if the operation fails. |
Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
| doc | Document | A document. |
| rebarShape | RebarShape | A RebarShape element that defines the shape of the rebar. |
| barType | RebarBarType | A RebarBarType element that defines bar diameter, bend radius and material of the rebar. |
| host | Element | The element to which the rebar belongs. The element must support rebar hosting; see Autodesk.Revit.DB.Structure.RebarHostData. |
| origin | XYZ | The lower-left corner of the shape's bounding box will be placed at this point in the project. |
| xVec | XYZ | The x-axis in the shape definition will be mapped to this direction in the project. |
| yVec | XYZ | The y-axis in the shape definition will be mapped to this direction in the project. |
| → returns | Rebar→nullNothingnullptr | The newly created Rebar instance, or null Nothing nullptr a null reference ( Nothing in Visual Basic) if the operation fails. |
Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
| doc | Document | A document. |
| rebarShape | RebarShape | A RebarShape element that defines the shape of the rebar. |
| barType | RebarBarType | A RebarBarType element that defines bar diameter, bend radius and material of the rebar. |
| host | Element | The element to which the rebar belongs. The element must support rebar hosting; see Autodesk.Revit.DB.Structure.RebarHostData. |
| origin | XYZ | The lower-left corner of the shape's bounding box will be placed at this point in the project. |
| xVec | XYZ | The x-axis in the shape definition will be mapped to this direction in the project. |
| yVec | XYZ | The y-axis in the shape definition will be mapped to this direction in the project. |
| → returns | Rebar→nullNothingnullptr | The newly created Rebar instance, or null Nothing nullptr a null reference ( Nothing in Visual Basic) if the operation fails. |
Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
| doc | Document | A document. |
| rebarShape | RebarShape | A RebarShape element that defines the shape of the rebar. |
| barType | RebarBarType | A RebarBarType element that defines bar diameter, bend radius and material of the rebar. |
| host | Element | The element to which the rebar belongs. The element must support rebar hosting; see Autodesk.Revit.DB.Structure.RebarHostData. |
| origin | XYZ | The lower-left corner of the shape's bounding box will be placed at this point in the project. |
| xVec | XYZ | The x-axis in the shape definition will be mapped to this direction in the project. |
| yVec | XYZ | The y-axis in the shape definition will be mapped to this direction in the project. |
| → returns | Rebar→nullNothingnullptr | The newly created Rebar instance, or null Nothing nullptr a null reference ( Nothing in Visual Basic) if the operation fails. |