Search Results for

    Show / Hide Table of Contents

    Method CreateAxisByTwoPoints

    CreateAxisByTwoPoints(DocumentId, SmartPoint3D, SmartPoint3D)

    Creates an axis in a document from two points.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 20, 400, 140)]
    ElementId CreateAxisByTwoPoints(DocumentId inDocumentId, SmartPoint3D inFirstPoint, SmartPoint3D inSecondPoint)
    Parameters
    Type Name Description
    DocumentId inDocumentId

    Identifier of the document to modify.

    SmartPoint3D inFirstPoint

    First point

    SmartPoint3D inSecondPoint

    Second point

    Returns
    Type Description
    ElementId
    Remarks

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

    This method is available since v7.20.

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

    Copyright ©2025 TopSolid - All rights reserved.