RebarConstraint.GetTargetElement Method

Overload List

 NameDescription
Public methodGetTargetElement() Gets the Element object (either Host or Rebar) which provides the constraint. Will throw exception if it's a multi target constraint.
Public methodGetTargetElement(Int32) Gets the Element object (either Host or Rebar) which provides the constraint. Will return the Element which contains the face at targetIndex.

See Also

Reference

RebarConstraint Class
Autodesk.Revit.DB.Structure Namespace