Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Drawing2D Class / AssignObjectsToLayersByTypes Method
In This Topic
    AssignObjectsToLayersByTypes Method
    In This Topic
    Assign objects in drawing to layers by its layer types.
    Syntax
    public void AssignObjectsToLayersByTypes()
    Exceptions
    ExceptionDescription
    This file is not opened.
    You can not perform this action on a document opened as read only.
    Api is not in an initialized state. You can get current state from EPLAN.Harness.API.Studio.Status property. If API is uninitialized, you can initialize it by calling EPLAN.Harness.API.Studio.Init method. If API is in failed state, you can not resurrect it.
    The operation was not successful.
    See Also