RVTDocs.com
Namespace: Autodesk.Revit.DB Class: SolidUtils

SolidUtils.CreateTransformed

Method
Description:
Creates a new Solid which is the transformation of the input Solid.
Syntax
public static Solid CreateTransformed(
	Solid solid,
	Transform transform
)
Parameters
Parameter Type Description
solid Solid The input solid to be transformed.
transform Transform The transform (which must be conformal).
Return Value
Type Description
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.