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.
public LayerDefinition AddLayer( string name )
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.ArgumentException | Argument is invalid. The exception is thrown when a wrong argument is passed to the method or the setter of property. |
EPLAN.Harness.API.Exceptions.FileClosedException | This file is not opened. |
EPLAN.Harness.API.Exceptions.OperationFailedException | The operation was not successful. |