AdaptiveComponentFamilyUtils.SetPointOrientationType
Description:
Sets orientation type of an Adaptive Placement Point.
Sets orientation type of an Adaptive Placement Point.
public static void SetPointOrientationType(
Document doc,
ElementId refPointId,
AdaptivePointOrientationType orientationType
)
-
docThe Document
-
refPointIdThe ReferencePoint id
-
orientationTypeOrientation type of the Adaptive Placement Point.
-
The ElementId refPointId does not correspond to a valid ReferencePoint. -or- The Element corresponding to ElementId refPointId does not belong to an Adaptive Family. -or- The ElementId refPointId does not correspond to an Adaptive Placement Point.
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration
-
This operation failed.