RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ModelCurve

ModelCurve.SetVisibility

Method
Description:
Sets the visibility for the model curve in a family document.
Remarks:
The visibility of the model curve geometry can be changed for different types of views and detail levels in the family document.
Syntax
public void SetVisibility(
	FamilyElementVisibility visibility
)
Parameters
Parameter Type Description
visibility FamilyElementVisibility
Return Value
Exceptions
Exception Condition
ArgumentNullException Thrown when visibility is.
InvalidOperationException Thrown when regeneration failed, or the model curve is in a project document.