From 157b99851a94a47c1aac971bdb111b603e8ca70c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E7=99=BD=E5=8F=94?= <11794527+absfan@user.noreply.gitee.com> Date: Wed, 14 Oct 2026 13:43:50 +0800 Subject: [PATCH] Guard complete target sheet readback --- integration/dxdesigner795/QuickPartReplace.vbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/dxdesigner795/QuickPartReplace.vbs b/integration/dxdesigner795/QuickPartReplace.vbs index 574d750..bd1a28f 100644 --- a/integration/dxdesigner795/QuickPartReplace.vbs +++ b/integration/dxdesigner795/QuickPartReplace.vbs @@ -998,8 +998,8 @@ End Function Sub QPVerifyUntouched(ByRef Records) Dim Baseline, Components, Comp, Uid, Actual, Matched, Total, Seen + If Not Records.Item("meta").Exists("target_scope") Then Exit Sub Set Baseline = Records.Item("untouched") - If Baseline.Count = 0 Then Exit Sub Set Components = QP_App.ActiveView.Query(VDM_COMP, VD_ALL) Matched = 0 Total = 0