BaseImportOptions.SetLayerSelection
Method
Description:
Set the layers name which user want to import into Revit.
Set the layers name which user want to import into Revit.
Remarks:
If user don't set any layer selection, all layers would be imported into Revit for dgn. But for dwg|dxf, all layers (or visible layers, it is up to visibleLayersOnly was set or not) would be imported into Revit.
If user don't set any layer selection, all layers would be imported into Revit for dgn. But for dwg|dxf, all layers (or visible layers, it is up to visibleLayersOnly was set or not) would be imported into Revit.
Parameters
Parameter | Type | Description |
---|---|---|
layerSelection | ICollection | The layers imported into Revit. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |