SetVisibility Method


Generic Form Set Visibility Method

Sets the visibility for the generic form.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetVisibility(
	FamilyElementVisibility visibility
)

Parameters

visibility FamilyElementVisibility
Exceptions
Exception Condition
ArgumentNullException Thrown when visibility is .
InvalidOperationException Thrown when regeneration failed.
Remarks
The visibility of the generic form geometry can be changed for different types of views and detail levels in the project.
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 →