Revit 2020.1 API |
Transform..::..ScaleBasis Method |
Transform Class See Also |
Scales the basis vectors of this transformation and returns the result.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.1.1.1)
Syntax
C# |
---|
public Transform ScaleBasis( double scale ) |
Visual Basic |
---|
Public Function ScaleBasis ( _ scale As Double _ ) As Transform |
Visual C++ |
---|
public: Transform^ ScaleBasis( 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 the uniform scale
and then this transformation, in this order.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | Thrown when the specified value is an infinite number. |