CreateTransformed Method


Solid Utils Create Transformed Method

Creates a new Solid which is the transformation of the input Solid.

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

Solid
The 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.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →