Search Results for

    Show / Hide Table of Contents

    Method CreateSketchIn3D

    CreateSketchIn3D(DocumentId, SmartPlane3D, SmartPoint3D, bool, SmartDirection3D)

    Creates a sketch in a 3D document.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 7, 201, 80)]
    ElementId CreateSketchIn3D(DocumentId inDocumentId, SmartPlane3D inPlane, SmartPoint3D inOrigin, bool inDefinesXDirection, SmartDirection3D inDirection)
    Parameters
    Type Name Description
    DocumentId inDocumentId

    Identifier of the document to modify.

    SmartPlane3D inPlane

    Support plane.

    SmartPoint3D inOrigin

    Origin point.

    bool inDefinesXDirection

    Defines the X direction if true, otherwise defines the Y direction if false.

    SmartDirection3D inDirection

    Reference X or Y direction.

    Returns
    Type Description
    ElementId

    Identifier of the created sketch entity.

    Remarks

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

    This method is available since v7.7.201.80.

    This method does not create a building operation anymore since v7.11.

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

    Copyright ©2025 TopSolid - All rights reserved.