Share

ModelCurve.SetVisibility Method

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


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public void SetVisibility(
	FamilyElementVisibility visibility
)

Parameters

visibility  FamilyElementVisibility
 

Exceptions

ExceptionCondition
ArgumentNullException Thrown when visibility is nullptr.
InvalidOperationException Thrown when regeneration failed, or the model curve is in a project document.

Remarks

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

See Also

Reference

Was this information helpful?