IsValidCustomSpacingFormula Method


Rebar Is Valid Custom Spacing Formula Method

Checks if the specified formula is valid (has a valid syntax).

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static bool IsValidCustomSpacingFormula(
	Document document,
	string formula
)

Parameters

document Document
A document.
formula String
The formula to check.

Return Value

Boolean
Returns true if the specified formula is valid (has a valid syntax), false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
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 →