Share

FreeFormElement.SetFaceOffset Method

Offsets a planar face of the free form element a certain distance in the normal direction.


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

Syntax

C#

public void SetFaceOffset(
	Face face,
	double offset
)

Parameters

face  Face
The face to offset.
offset  Double
The magnitude of the offset. A positive value offsets out of the input solid. A negative value offsets into the solid shape.

Exceptions

ExceptionCondition
ArgumentException face does not belong to the solid. -or- The face to be offset should be planar and satisfy constraints of its parent element.
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?