ScaleBasis Method


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

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.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

Exception Condition
Autodesk.Revit.Exceptions ArgumentException Thrown when the specified value is an infinite number.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →