API Help
Eplan.EplApi.DataModel.Graphics Namespace / GraphicalLayer Class / Create Method
Table where layer will be stored. See Eplan.EplApi.DataModel.Project.LayerTable
Name of new layer. It can be changed by Name property.
Description of new layer. Description property.

In This Topic
    Create Method (GraphicalLayer)
    In This Topic
    Creates new graphical layer in graphical table. This function calls Eplan.EplApi.DataModel.Graphics.GraphicalLayerTable.AddLayer() and returned object is merged with created object.
    Syntax

    Parameters

    table
    Table where layer will be stored. See Eplan.EplApi.DataModel.Project.LayerTable
    name
    Name of new layer. It can be changed by Name property.
    description
    Description of new layer. Description property.
    Exceptions
    ExceptionDescription
    Thrown when layer object cannot be associated in table.
    Thrown when table is null.
    See Also