PathOfTravel.SetRevealObstaclesMode
Description:
Sets Reveal Obstacles mode for the given view.
Sets Reveal Obstacles mode for the given view.
public static PathOfTravelCalculationStatus SetRevealObstaclesMode(
View DBView,
bool newState
)
-
DBViewThe view to set Reveal Obstacles mode for.
-
BooleannewStateNew state of Reveal Obstacles mode to be set for the view.
-
The element "DBView" is in a family document or a document in in-place edit mode. -or- View is not a floor plan view.
-
A non-optional argument was null
-
The document containing DBView is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements). -or- The Path of Travel calculation service is not available
-
The document containing DBView is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements). -or- The document containing DBView is being loaded, or is in the midst of another sensitive process.
-
The document containing DBView has no open transaction.