Skip to content

Transform.ScaleBasisAndOrigin

Public Class

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

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public Transform ScaleBasisAndOrigin(
double scale
)

Parameters

scaleDouble

The scale value.

Return Value

Transform
The transformation equal to the composition of the two transformations.

Exceptions

Exception

Condition


ArgumentException

Thrown when the specified value is an infinite number.


Remarks

The resulting transformation is equivalent to the application of this transformation and then the uniform scale, in this order.