Search Results for

    Show / Hide Table of Contents

    Method GetStockParameters2

    GetStockParameters2(DocumentId, out ElementId, out ElementId, out ElementId, out ElementId, out ElementId)

    Gets the stock parameters of a part or assembly.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 11, 0, 0)]
    void GetStockParameters2(DocumentId inDocumentId, out ElementId outStockName, out ElementId outStockDescription, out ElementId outStockPartNumber, out ElementId outStockMajorRevision, out ElementId outStockDimensions)
    Parameters
    Type Name Description
    DocumentId inDocumentId

    Identifier of part or assembly document to analyze.

    ElementId outStockName

    Stock name text parameter entity identifier, or empty if not managed.

    ElementId outStockDescription

    Stock description text parameter entity identifier, or empty if not managed.

    ElementId outStockPartNumber

    Stock part number text parameter entity identifier, or empty if not managed.

    ElementId outStockMajorRevision

    Stock major revision text parameter entity identifier, or empty if not managed.

    ElementId outStockDimensions

    Stock dimensions text parameter entity identifier, or empty if not managed.

    Remarks

    This method is available since v7.11.

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

    Copyright ©2025 TopSolid - All rights reserved.