2027 Method
Changes 0
M

DatumPlane.IsLeaderValid

Description:
Identifies if the leader valid or not for this DatumPlane. This method does not apply to Reference planes (which do not support leaders).
Remarks:
If the view or leader is null, it will throw ArgumentNullException; A valid leader meets the following conditions:
  • The leader's End, Elbow and Anchor should lie in the View's plane
  • The End of the leader should be on the datum plane's curve(s)
  • The Elbow of the leader should be between the End and Anchor
public bool IsLeaderValid(
	DatumEnds datumEnd,
	View view,
	Leader leader
)
  • datumEnd
    The end of the datum plane.
  • view
    The view on which the DatumPlane shows.
  • leader
    The Leader for setting the datum plane.
Return Value Boolean True if the leader is valid for set leader, false otherwise.