Returns a transformation that is applied to elements when copying from one view to another view.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static Transform GetTransformFromViewToView( View sourceView, View destinationView )
Parameters
Return Value
TransformThe transformation from source view to destination view.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The specified view cannot be used as a source or destination for copying elements between two views. |
ArgumentNullException | A non-optional argument was null |