Viewport.SetViewAnchorAndPosition
Description:
Sets the ViewAnchor and position to Viewport.
Sets the ViewAnchor and position to Viewport.
public void SetViewAnchorAndPosition(
ViewAnchor viewAnchor,
XYZ position
)
-
viewAnchorThe viewAnchor to be assigned.
-
positionThe position to be assigned.
-
The given value of viewAnchor cannot be applied to this Viewport.
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration