WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Interface SelectionChangedEventArgs

    选择集变化事件参数

    interface SelectionChangedEventArgs {
        timestamp: number;
        customData?: any;
        document: CadDocument;
        previousSelection: EntityBase[];
        currentSelection: EntityBase[];
        added: EntityBase[];
        removed: EntityBase[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    timestamp: number

    事件发生的时间戳

    customData?: any

    自定义数据,二次开发者可以附加额外信息

    document: CadDocument

    所属文档

    previousSelection: EntityBase[]

    之前的选择集

    currentSelection: EntityBase[]

    当前的选择集

    added: EntityBase[]

    新增的实体

    removed: EntityBase[]

    移除的实体