Revit 2019.2 API |
Transform..::..ScaleBasisAndOrigin Method |
Transform Class See Also |
Scales the basis vectors and the origin of this transformation and returns the result.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.2.0.66)
Syntax
C# |
---|
public Transform ScaleBasisAndOrigin( double scale ) |
Visual Basic |
---|
Public Function ScaleBasisAndOrigin ( _ scale As Double _ ) As Transform |
Visual C++ |
---|
public: Transform^ ScaleBasisAndOrigin( double scale ) |
Parameters
- scale
- Type: System..::..Double
The scale value.
Return Value
The transformation equal to the composition of the two transformations.
Remarks
The resulting transformation is equivalent to the application of this transformation
and then the uniform scale, in this order.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | Thrown when the specified value is an infinite number. |