IsOrientToPermitted Method


Indicates if the provided orientation is permitted for this load.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since: 2015

Syntax

C#
public bool IsOrientToPermitted(
	LoadOrientTo orientTo
)
Visual Basic
Public Function IsOrientToPermitted ( _
	orientTo As LoadOrientTo _
) As Boolean
Visual C++
public:
bool IsOrientToPermitted(
	LoadOrientTo orientTo
)

Parameters

orientTo
Type: Autodesk.Revit.DB.Structure LoadOrientTo
Load orientation to check.

Return Value

True if provided orientation type is permitted for this load, false if not.

Remarks

For hosted load only LoadOrientTo.Project and LoadOrientTo.HostLocalCoordinateSystem are permitted. For non-hosted load only LoadOrientTo.Project and LoadOrientTo.WorkPlane are permitted. To determine if load is hosted use IsHosted property.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →