Search Results for

    Show / Hide Table of Contents

    Method CreateFrameByPointAndTwoDirections

    CreateFrameByPointAndTwoDirections(DocumentId, SmartPoint3D, SmartDirection3D, SmartDirection3D, bool)

    Creates a frame entity in a document by point and two directions.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 18, 400, 6000)]
    ElementId CreateFrameByPointAndTwoDirections(DocumentId inDocumentId, SmartPoint3D inOrigin, SmartDirection3D inFirstDirection, SmartDirection3D inSecondDirection, bool isSecondDirectionOY)
    Parameters
    Type Name Description
    DocumentId inDocumentId

    Identifier of the document to modify.

    SmartPoint3D inOrigin

    Frame origin.

    SmartDirection3D inFirstDirection

    First direction.

    SmartDirection3D inSecondDirection

    Second direction.

    bool isSecondDirectionOY

    whether second direction is OY.

    Returns
    Type Description
    ElementId

    Identifier of the created frame entity.

    Remarks

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

    This method is available since v7.6.

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

    Copyright ©2025 TopSolid - All rights reserved.