mxcad 1.0.80 → 1.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mxcad.d.ts CHANGED
@@ -645,10 +645,26 @@ export declare class MxCADUtilityClass {
645
645
  /**
646
646
  * 得到当前选中的对象。
647
647
  */
648
- getCurrentSelect(): McObjectId[];
648
+ getCurrentSelect(filter?: MxCADResbuf | null): McObjectId[];
649
+ userSelect(strPrompt?: string, filter?: MxCADResbuf | null): Promise<McObjectId[]>;
649
650
  private init;
651
+ getCorner(strPrompt?: string, pt1?: McGePoint3d, detailedResult?: Function, drawSelectCroner?: boolean): Promise<{
652
+ pt1: McGePoint3d;
653
+ pt2: McGePoint3d;
654
+ } | null>;
655
+ getMcDbEntitysBoundingBox(aryId: McObjectId[]): {
656
+ minPt: McGePoint3d;
657
+ maxPt: McGePoint3d;
658
+ } | undefined;
650
659
  }
651
660
  export declare let MxCADUtility: MxCADUtilityClass;
661
+ export declare enum MxCADSelectionSetStatus {
662
+ kSelected = 0,
663
+ kNone = 1,
664
+ kCanceled = 2,
665
+ kRejected = 3,
666
+ kKeyword = 4
667
+ }
652
668
  export declare class MxCADSelectionSet extends McRxObject {
653
669
  constructor();
654
670
  allSelect(filter?: MxCADResbuf | null): number;
@@ -753,6 +769,14 @@ export declare class MxCADUiPrBase {
753
769
  * 是否禁用捕捉
754
770
  */
755
771
  isDisableOsnap(): boolean;
772
+ /**
773
+ * 返回输入控制设置,UserInputControls
774
+ */
775
+ userInputControls(): number;
776
+ /**
777
+ * 设置输入控制设置,UserInputControls
778
+ */
779
+ setUserInputControls(contros: number): void;
756
780
  }
757
781
  export declare class MxCADUiPrPoint extends MxCADUiPrBase {
758
782
  constructor();