AreTargetAndFallbackCompatible Method


Tessellated Shape Builder Are Target And Fallback Compatible 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: 25.0.0.0 (25.0.0.0)
Syntax
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
Exception Condition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →