Search Results for

    Show / Hide Table of Contents

    Method GetName

    GetName(ElementId)

    Gets the name of an element.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 6, 0, 0)]
    string GetName(ElementId inElementId)
    Parameters
    Type Name Description
    ElementId inElementId

    Identifier of the element to analyze.

    Returns
    Type Description
    string

    Name of the element, or null if the element has no name.

    Remarks

    The name may need translation before exposing it to the user if it is a system name (see HasSystemName(ElementId)).

    The name displayed to the user is obtained by the GetFriendlyName(ElementId) method.

    This method is available since v7.6.

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

    Copyright ©2025 TopSolid - All rights reserved.