VisibleLayersOnly Property


Only import the visible layers.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2013

Syntax

C#
public bool VisibleLayersOnly { get; set; }
Visual Basic
Public Property VisibleLayersOnly As Boolean
	Get
	Set
Visual C++
public:
property bool VisibleLayersOnly {
	bool get ();
	void set (bool value);
}

Remarks

If this option is set to true, only visible layers are imported. For dgn import, this option is unsupported.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →