TransformUVDomainIfPossible Method


Transform 2D Transform UVDomain If Possible Method

Transforms an envelope ( BoundingBoxUV ) for one surface to an envelope for a coincident but differently parameterized surface.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public BoundingBoxUV TransformUVDomainIfPossible(
	BoundingBoxUV uvDomain
)

Parameters

uvDomain BoundingBoxUV
The original surface envelope.

Return Value

BoundingBoxUV
If successful a new BoundingBoxUV transformed surface envelope, otherwise .
Exceptions
Exception Condition
ArgumentException uvDomain is not set.
ArgumentNullException A non-optional argument was null
Remarks
This method succeeds in the case when the uv-parameter transform between the surfaces has a simple form, that commonly occurs for analytic surfaces, such that the image of the input envelope under the transform is itself a rectangular region aligned with the UV coordinate axes.
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 →