Revit 2022 API |
Transform..::..Scale Property |
Transform Class See Also |
The real number that represents the scale of the transformation.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Syntax
C# |
---|
public double Scale { get; } |
Visual Basic |
---|
Public ReadOnly Property Scale As Double Get |
Visual C++ |
---|
public: property double Scale { double get (); } |
Remarks
When the transformation is conformal and can be decomposed as the product of
a rigid-body motion, uniform scale and reflection, this property returns the scale
value of the uniform scale transformation.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown when this transformation is not conformal and the scale is undefined. |