ScaleBasisAndOrigin Method


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

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

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: SystemDouble
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

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException 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 →