Search Results for

    Show / Hide Table of Contents

    Method CreateLinearDimension

    CreateLinearDimension(ElementId, Point2D, Point2D, Direction2D, string, string)

    Creates a linear dimension using two points.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 20, 255, 0)]
    ElementId CreateLinearDimension(ElementId inElementId, Point2D inFirstPoint, Point2D inSecondPoint, Direction2D inDirection, string inPrefix, string inSuffix)
    Parameters
    Type Name Description
    ElementId inElementId

    Drafting view id.

    Point2D inFirstPoint

    First point of the dimension.

    Point2D inSecondPoint

    Second point of the dimension.

    Direction2D inDirection

    Display vector of the dimension.

    string inPrefix

    Prefix to add, or empty if no prefix.

    string inSuffix

    Suffix to add, or empty if no suffix.

    Returns
    Type Description
    ElementId
    Remarks

    This method is available since v7.19.

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

    Copyright ©2025 TopSolid - All rights reserved.