Creates a new Solid which is the transformation of the input Solid.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static Solid CreateTransformed( Solid solid, Transform transform )
Parameters
- solid Solid
- The input solid to be transformed.
- transform Transform
- The transform (which must be conformal).
Return Value
SolidThe newly created Solid.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| ArgumentOutOfRangeException | transform is not conformal. -or- transform has a scale that is negative or zero. |
