RVTDocs.com

LoadBase.OrientTo

Property
Description:
The load orientation option.
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
public LoadOrientTo OrientTo { get; set; }
Exceptions
Exception Condition
ArgumentException When setting this property: orientTo is not permitted for this type of load.
ArgumentOutOfRangeException When setting this property: A value passed for an enumeration argument is not a member of that enumeration