ProCad Home
  1. Home
  2. Docs
  3. API
    1. GitHub
    Menu
    Loading menu…

    On this page

    1. Home
    2. API
    3. ProCad.Editing.Sessions
    4. CadDocumentSession

    CadDocumentSession Class

    Definition

    Namespace ProCad.Editing.Sessions
    Assembly ProCad.Editing.dll
    Inherits Object
    Implements ICadEditorSession
    View source
    Show inherited members (7)
    • System.Object.Equals(System.Object?)
    • System.Object.Equals(System.Object?, System.Object?)
    • System.Object.GetHashCode()
    • System.Object.GetType()
    • System.Object.MemberwiseClone()
    • System.Object.ReferenceEquals(System.Object?, System.Object?)
    • System.Object.ToString()
    public sealed class CadDocumentSession : ICadEditorSession
    
    Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

    Constructors (1)

    CadDocumentSession(CadDocument, ICadEntityIndex, ICadUndoRedoService, ICadTransactionService, ICadDependencyResolver, ICadConstraintService, ICadGeometricConstraintSolver)

    Properties (10)

    Constraints
    DependencyResolver
    Document
    EntityIndex
    IsDirty
    Revision
    SelectionSet
    SessionId
    TransactionService
    UndoRedo

    Methods (8)

    Apply(CadOperationBatch)
    ExportConstraintPayload()
    ImportConstraintPayload(ReadOnlySpan<Byte>)
    MarkExternalMutation(Boolean)
    NextBatch(Guid, IReadOnlyList<CadOperation>)
    SetSelection(IEnumerable<Object?>, CadSelectionMode)
    TryRedo(Guid, out CadOperationBatch)
    TryUndo(Guid, out CadOperationBatch)

    Copyright © 2026, Wieslaw Soltes aka wieslawsoltes - Content licensed under the MIT license | Site generated by lunet hosted on GitHub Pages