M

RebarBendingDetail.Create

Description:
Creates a new instance of a bending detail.
public static Element Create(
	Document document,
	ElementId viewId,
	ElementId reinforcementElementId,
	int reinforcementElementSubelementKey,
	RebarBendingDetailType bendingDetailType,
	XYZ position,
	double rotation
)
  • document
    Document to which the new element should be added.
  • viewId
    The id of the view in which the new element should be added.
  • reinforcementElementId
    The reinforcement element Id that this object will represent.
  • reinforcementElementSubelementKey
    The index of the sub-element from the reinforcement element that this object will represent.
  • bendingDetailType
    The bending details type used with the resulting object.
  • position
    The initial position in the view where this object will be created.
  • rotation
    The initial rotation in the view for this element.
Return Value Element Returns an instance of a bending detail.