Search Results for

    Show / Hide Table of Contents

    Method ProvideFunction

    ProvideFunction(DocumentId, DocumentId, string)

    Provides a specified function in a document.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 8, 0, 0)]
    ElementId ProvideFunction(DocumentId inDocumentId, DocumentId inFunctionId, string inOccurrenceName)
    Parameters
    Type Name Description
    DocumentId inDocumentId

    Identifier of the document to modify.

    DocumentId inFunctionId

    Identifier of the function definition document.

    string inOccurrenceName

    Provided function occurrence name, or null if this type of function cannot be provided several times.

    Returns
    Type Description
    ElementId

    Function entity created identifier.

    Remarks

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

    This method is available since v7.8.

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

    Copyright ©2025 TopSolid - All rights reserved.