M

PathOfTravel.Create

Description:
Creates a new path of travel between two points and provides creation result status.
Remarks:
InvalidOperationException is thrown if PathOfTravel cannot be created for the following conditions:
  • View has crop box active and crop box is split
  • View has crop box active and start or end point lies outside of the crop
  • View model outline area is larger than the current limit (2,000,000 sq.ft.)
  • View export contains too much geometry (more than 200,000 lines)
  • Start and end points are too close
Overloads (2):
Create(View,XYZ,XYZ,PathOfTravelCalculationStatus)
public static PathOfTravel Create(
	View DBView,
	XYZ pathStart,
	XYZ pathEnd,
	out PathOfTravelCalculationStatus resultStatus
)
Return Value nullNothingnullptr The newly created path of travel element, or null Nothing nullptr a null reference ( Nothing in Visual Basic) if no path between the two points is found.