Search Results for

    Show / Hide Table of Contents

    Method Solve

    Solve(DocumentId, out string)

    Launch resolution of an analysis preparation document.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 19, 15, 0)]
    bool Solve(DocumentId inDocumentId, out string outMessage)
    Parameters
    Type Name Description
    DocumentId inDocumentId

    Identifier of the document to solve.

    string outMessage

    Message returned by solver, or error message.

    Returns
    Type Description
    bool

    Whether mesh has actually been solved.

    Remarks

    This method is available since v7.19.

    Examples
       DocumentId docId = TopSolidHost.Documents.EditedDocument;
    if (TopSolidHost.Application.StartModification("Do Solve", false))
    {
    	try
    	{
    		TopSolidCaeHost.Documents.Solve(docId, out string message);
    		TopSolidHost.Application.EndModification(true, true);
    	}
    	catch
    	{
    		TopSolidHost.Application.EndModification(false, false);
    	}
    }
    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.