Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / GraphicalLayerTable Class / ReplaceLayer Method / ReplaceLayer(StorableObject[],GraphicalLayer) Method
Array of Eplan.EplApi.DataModel.StorableObject for which layer should be changed.
Layer which will be set.

ReplaceLayer(StorableObject[],GraphicalLayer) Method
Replace Eplan::EplApi::DataModel: for given array of objects.
Syntax

Parameters

elementsToReplace
Array of Eplan.EplApi.DataModel.StorableObject for which layer should be changed.
newLayer
Layer which will be set.
Exceptions
ExceptionDescription
Errors occurred during export. See the exception message for details.
Remarks
This method set new layer for all objects given in array.
See Also