Share

LoadBase.IsOrientToPermitted Method

Indicates if the provided orientation is permitted for this load.


Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public bool IsOrientToPermitted(
	LoadOrientTo orientTo
)

Parameters

orientTo  LoadOrientTo
Load orientation to check.

Return Value

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

Exceptions

ExceptionCondition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

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.

See Also

Reference

Was this information helpful?