Search Results for

    Show / Hide Table of Contents

    Method GetMaterialName

    GetMaterialName(DocumentId)

    Gets the material name from a result document.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 19, 15, 0)]
    string GetMaterialName(DocumentId inDocumentId)
    Parameters
    Type Name Description
    DocumentId inDocumentId

    Identifier of the document to analyze.

    Returns
    Type Description
    string

    The name of the material.

    Remarks

    This method is available since v7.19.

    Examples
    DocumentId docId = TopSolidHost.Documents.EditedDocument;
    string materialName = TopSolidCaeHost.Results.GetMaterialName(docId);
    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.