Share

SolidUtils.CreateTransformed Method

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


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

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

Solid
The newly created Solid.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException transform is not conformal. -or- transform has a scale that is negative or zero.

See Also

Reference

Was this information helpful?