HasLargeSketches Method


Family Has Large Sketches Method

Checks whether the family contains sketches with a large number of elements.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool HasLargeSketches()

Return Value

Boolean
Remarks
Families containing large sketches (typically with 300+ elements) may cause performance problems in parametric families (see IsParametric ). Thus, before adding any constraints to a family (which will make the family parametric,) this method can be queried and the decision about whether the family should indeed be turned parametric may be deferred to the end-user.
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 →