ScaleBasis Method
Scales the basis vectors of this transformation and returns the result.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)

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

ExceptionCondition
Autodesk.Revit.Exceptions..::..ArgumentException Thrown when the specified value is an infinite number.

See Also