Share

TessellatedShapeBuilder.AreTargetAndFallbackCompatible Method

Checks whether this combination of fallback and target parameters can be used as a valid combination of inputs.


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

Syntax

C#

public bool AreTargetAndFallbackCompatible(
	TessellatedShapeBuilderTarget target,
	TessellatedShapeBuilderFallback fallback
)

Parameters

target  TessellatedShapeBuilderTarget
What kind of geometrical objects should be built.
fallback  TessellatedShapeBuilderFallback
What should be done if a geometrical object described by 'target' parameter cannot be built using all data from all stored face sets.

Return Value

Boolean
True if the combination of fallback and target are a valid combination, false otherwise.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also

Reference

Was this information helpful?