Only import the visible layers.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public bool VisibleLayersOnly { get; set; }Property Value
Boolean
Remarks
If this option is set to true, only visible layers are imported.
For dgn import, this option is unsupported.
See Also
Reference