RVTDocs.com

LoadBase.IsOrientToPermitted

Method
Description:
Indicates if the provided orientation is permitted for this load.
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.
Syntax
Parameters
Parameter Type Description
orientTo LoadOrientTo Load orientation to check.
Return Value
Type Description
Boolean True if provided orientation type is permitted for this load, false if not.
Exceptions
Exception Condition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration