Harness proD API Help
EPLAN.Harness.API.DataStructures.LayerManagement Namespace / LayerManagement Class / AddLayer Method
Name of the newly created layer or default generated name if null.
In This Topic
    AddLayer Method
    In This Topic
    Add new layer definition into the list of layers.
    Syntax
    public LayerDefinition AddLayer( 
       string name
    )

    Parameters

    name
    Name of the newly created layer or default generated name if null.

    Return Value

    The new layer definition.
    Exceptions
    ExceptionDescription
    Argument is invalid. The exception is thrown when a wrong argument is passed to the method or the setter of property.
    This file is not opened.
    The operation was not successful.
    See Also