IsValidPreset Method


Boundary Conditions Is Valid Preset Method

Checks whether the value set for boundary conditions preset is valid.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public bool IsValidPreset(
	BoundaryConditionsPreset preset
)

Parameters

preset BoundaryConditionsPreset
The value set to be verified.

Return Value

Boolean
Exceptions
Exception Condition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
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 →