Skip to content

ModelText.SetVisibility

Public Class

Sets the visibility for the model text in a family document.

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, or the model curve is in a project document.


Remarks

The visibility of the model text geometry can be changed for different types of views and detail levels in the family document.