RebarConstraint.GetTargetElement
Description:
Gets the Element object (either Host or Rebar) which provides the constraint. Will return the Element which contains the face at targetIndex.
Gets the Element object (either Host or Rebar) which provides the constraint. Will return the Element which contains the face at targetIndex.
Overloads (2):
GetTargetElement(Int32)
public Element GetTargetElement(
int targetIndex
)
-
Int32targetIndexThe index of the target. Should be between 0 and NumberOfTargets().
Return Value
Element
Returns the Element object (either Host or Rebar) which provides the constraint. Will return the Element which contains the face at targetIndex.
-
targetIndex is out of range.
-
RebarConstraint is no longer valid.