Search Results for

    Show / Hide Table of Contents

    Method DeleteLevel

    DeleteLevel(ElementId)

    Deletes a level entity.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 10, 0, 0)]
    void DeleteLevel(ElementId inElementId)
    Parameters
    Type Name Description
    ElementId inElementId

    Identifier of the level entity to delete.

    Remarks

    Level entities cannot be deleted using the usual Delete(ElementId) method, this method must be used instead.

    The number of levels must always be at least equal to the classification depth as returned by FindClassificationDepth(DocumentId). An exception will be thrown when attemting to delete a level entity that would result in breaking that condition.

    StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.

    This method is available since v7.10.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.