PathOfTravel.IsInRevealObstaclesMode
Description:
Returns current state of Reveal Obstacles mode for the given view.
Returns current state of Reveal Obstacles mode for the given view.
public static bool IsInRevealObstaclesMode(
View DBView
)
-
DBViewThe view to determine current state of Reveal Obstacles mode for.
Return Value
bool
True if Reveal Obstacles mode is ON for the view, false otherwise.
-
View is not in a family 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